Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tracking Turret

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.

Turret Demo

Implementation

  • 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.

Hardware

  • Pan-Tilt Turret with two servo motors
  • Arduino board (Uno, Nano, or similar)
  • USB/Serial connection to the controlling PC
  • Camera

Circuit Diagram

How It Works

  1. The camera captures frames in real-time.
  2. OpenCV detects faces, objects, or eye-gaze direction.
  3. Errors between the target and the center of the frame are calculated.
  4. Python sends commands over serial to Arduino.
  5. Arduino moves the pan-tilt servos according to the commands.

About

A 2-axis tracking turret: uses (OpenCV/YOLO) to follow faces, objects, eye-gaze, or mouse cursor.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages