This paper discusses a vision-based tracking system for movable robot heads designed to detect and identify objects using image processing techniques. The robot head can move in four directions and achieves high accuracy in tracking various objects, particularly red circles, while analyzing the impact of distance on movement and tracking performance. Results indicate that the closer the object, the more accurate the robot's movement is, providing insights into optimizing robotic vision systems.