https://github.com/1810suman/ai_canvas
A real-time gesture-based drawing tool using OpenCV and Mediapipe. Supports freehand drawing, erasing, and shape recognition (circle, rectangle, line) with a virtual color palette and keyboard shortcuts.
https://github.com/1810suman/ai_canvas
ai-canvas handgesture-recognition mediapipe opencv python
Last synced: about 2 months ago
JSON representation
A real-time gesture-based drawing tool using OpenCV and Mediapipe. Supports freehand drawing, erasing, and shape recognition (circle, rectangle, line) with a virtual color palette and keyboard shortcuts.
- Host: GitHub
- URL: https://github.com/1810suman/ai_canvas
- Owner: 1810suman
- Created: 2025-03-31T18:15:34.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-31T18:22:36.000Z (over 1 year ago)
- Last Synced: 2025-03-31T19:27:42.299Z (over 1 year ago)
- Topics: ai-canvas, handgesture-recognition, mediapipe, opencv, python
- Language: Python
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
🎨🖐️ AI_Canvas
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.
✅ Key Features:
-
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).
🛠 Technologies Used:
- Python
- OpenCV
- Mediapipe
- NumPy
Ideal for interactive art, educational tools, creative applications, and AI-based
gesture recognition projects. 🚀