Skip to main content

AI-powered turret control system with face tracking, eye gaze detection, and YOLO object tracking

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

turrett-1.0.0.tar.gz (9.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

turrett-1.0.0-py3-none-any.whl (10.8 kB view details)

Uploaded Python 3

File details

Details for the file turrett-1.0.0.tar.gz.

File metadata

  • Download URL: turrett-1.0.0.tar.gz
  • Upload date:
  • Size: 9.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for turrett-1.0.0.tar.gz
Algorithm Hash digest
SHA256 5ae2f277307effb9b89232c3f442a3cd10af4f6188f292167298591ae7889a1c
MD5 9e6118fa21c4c926e6b431091757f81b
BLAKE2b-256 60d7f5188036e8cc32e39501f14df4b8e25a25ddcf54f069a646f3e2b60e532a

See more details on using hashes here.

File details

Details for the file turrett-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: turrett-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 10.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for turrett-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 efe7db84948f8cc7c1a0f78a504c982ea7978a21b01410f05fc404365ba73703
MD5 a375a505a5a41ec2b299d51295fdc401
BLAKE2b-256 9073503cd78e8949c0d03a9ef596deb75bd44f5f1b63a6a33ceed0172a156f6d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page