This project is an AI-powered real-time hand gesture-based drawing application built using OpenCV and Mediapipe. It allows users to draw, erase, and create shapes on a virtual canvas using just their hand movements, making it an interactive and touchless drawing tool. The application detects hand landmarks using Mediapipe, tracks fingertip positions, and enables dynamic drawing on a digital canvas.
- Freehand Drawing β Draw smoothly by moving your index finger.
- Shape Drawing Mode β Create circles, rectangles, and lines using hand gestures.
- Eraser Tool β Remove mistakes with a larger eraser size.
- Color Selection β A virtual color palette at the top of the screen allows seamless color switching.
- Real-time Hand Tracking β Uses Mediapipe Hands for accurate fingertip detection.
- Smooth and Responsive Drawing β Combines OpenCV image processing with hand tracking for an optimal experience.
- Keyboard Shortcuts β Easily switch between freehand drawing and shape modes (C - Circle, R - Rectangle, L - Line, D - Draw Mode).
- Python
- OpenCV
- Mediapipe
- NumPy
Ideal for interactive art, educational tools, creative applications, and AI-based gesture recognition projects. π