https://github.com/nksmanya/virtual_canvas
A hand gesture-based drawing app that lets you create art in the air using hand movements
https://github.com/nksmanya/virtual_canvas
mediapipe numpy opencv opencv-python python
Last synced: 2 months ago
JSON representation
A hand gesture-based drawing app that lets you create art in the air using hand movements
- Host: GitHub
- URL: https://github.com/nksmanya/virtual_canvas
- Owner: nksmanya
- Created: 2025-01-25T05:45:09.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-25T05:57:11.000Z (over 1 year ago)
- Last Synced: 2025-03-20T07:47:15.541Z (over 1 year ago)
- Topics: mediapipe, numpy, opencv, opencv-python, python
- Language: Python
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Virtual Canvas 🎨
This project is an interactive Hand Gesture Paint Application that utilizes a webcam to track hand gestures for creating drawings on a virtual canvas. It leverages MediaPipe for hand tracking and OpenCV for drawing on frames.
## Tech Stack
- Python
- OpenCV: For real-time video frame processing and drawing.
- MediaPipe: For hand gesture recognition and tracking.
- NumPy: For matrix operations.
## Features
- Hand Gesture Detection: Tracks hand landmarks using MediaPipe.
- Drawing Colors: Choose from four colors—Blue, Green, Red, and Yellow.
- Clear Canvas: Erase all drawings with a "Clear" button.
- Real-Time Drawing: Draw on the screen by moving your hand.
- Interactive UI: Visual buttons for color selection and clearing the canvas.
## Future Improvements
- Add more colors and brushes.
- Implement an eraser tool for selective clearing.
- Enable saving the drawing to a file.
## Feedback
Your feedback is valuable! Feel free to open an issue or submit a pull request to help improve Virtual Canvas!