This document describes an object detection technique using bounding box algorithms for robot navigation. It involves using a webcam and Arduino microcontroller to capture images and detect the centroid of colored objects. MATLAB is used to analyze the images and detect centroid movement between frames. The centroid movement data is sent to the Arduino to control the robot's movement and avoid obstacles for applications in robot vision, surveillance, and traffic monitoring.