Skip to content

shrikant280304/WaveBackArm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

11 Commits
Β 
Β 
Β 
Β 

Repository files navigation

Hand Tracking Servo Control with Python & Arduino

This project uses OpenCV and MediaPipe to track hand movement in real-time and control a servo motor via Arduino. The servo "waves back" to the user.

πŸ“œ Variations

  1. Basic Tracking (Current) – Tracks one hand and moves a single servo.

(Future variations can include dual-hand tracking, angle limits, smoothing, and gesture-based control.)

πŸ›  Hardware

  • Arduino Uno (or compatible)
  • Servo Motor (SG90/MG995)
  • USB Webcam / Laptop Camera
  • USB Cable

πŸ’» Software

  • Python 3.8+
  • Arduino IDE

πŸ“¦ Installation

git clone https://github.com/yourusername/hand-wave-servo.git
cd hand-wave-servo
pip install -r requirements.txt

▢️ Running the Code

  1. Connect Arduino and upload the servo control sketch from arduino/servo_controller.ino.
  2. Update ARDUINO_PORT in the script to your correct COM port.
  3. Run the variation:
python variations/variation1_basic_tracking.py
  1. Press q to quit.

πŸ“Ή Demo

(https://youtu.be/Dy3oX6qcPuQ)

πŸ“„ License

MIT License

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors