Skip to content

albinjojo/Hand-Tracking-Air-Canvas

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Hand Tracking Air Canvas

This project captures live webcam input and translates specific hand gestures into drawing actions on an OpenCV-backed canvas. It leverages MediaPipe Hands to detect finger positions and lets you draw, erase, or pick colors using intuitive gesture controls.

Requirements

  • Python 3.8 or newer
  • Webcam access
  • Install the required packages with:
    pip install opencv-python mediapipe numpy

How to run

  1. Make sure the webcam is available and installed drivers are functional.
  2. From the project directory, execute:
    python app.py
  3. The window titled "Air Canvas" will appear. Use the following gestures:
    • Open palm (thumb + all fingers): clears the canvas.
    • Index finger only: draw on the canvas.
    • Index + middle fingers: pick a color from the on-screen palette.
  4. Press q to exit and release the webcam.

About

captures live webcam input and translates specific hand gestures into drawing actions

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages