A hand-gesture-based virtual painting application that allows users to draw in the air using just their fingers. Built with OpenCV and MediaPipe, this project uses hand detection and finger tracking to simulate drawing on a canvas.
Hand detection and finger tracking using MediaPipe
Gesture-based controls:
Index + Middle finger → Select tool or color
Only Index finger → Draw
Color and eraser selection via on-screen menu
Clear the canvas with C, exit with ESC
Real-time drawing with live webcam feed
-
Python 3.6+
-
OpenCV
-
MediaPipe
-
Numpy
Install dependencies:
pip install -r requirements.txt
MediaPipe by Google for real-time hand tracking.
OpenCV for computer vision and image processing.
- Mahmoud Ebrahim Ebrahim
- Ahmed Hamdy
- Mohammed Ahmed Hussain