A 2-axis tracking turret that uses computer vision (OpenCV/YOLO) to follow faces, objects, eye-gaze, or mouse cursor in real-time via Arduino servo motors.
- Face Tracking: Uses OpenCV and Haar cascades to detect and track faces.
- Eye-Gaze Tracking: Follows the direction of the eye-gaze.
- Object Tracking: Can track any colored or defined object in the camera frame.
- Mouse Control: Follows mouse movement on screen.
- Jersey Tracking: Custom-trained YOLOv8 model to track a specific college jersey.
- Pan-Tilt Turret with two servo motors
- Arduino board (Uno, Nano, or similar)
- USB/Serial connection to the controlling PC
- Camera
- The camera captures frames in real-time.
- OpenCV detects faces, objects, or eye-gaze direction.
- Errors between the target and the center of the frame are calculated.
- Python sends commands over serial to Arduino.
- Arduino moves the pan-tilt servos according to the commands.

