https://github.com/raahulcodez/virtual-painter-air-canvas
a virtual painter application using Python, which enables a person to draw on a canvas with just their fingers.
https://github.com/raahulcodez/virtual-painter-air-canvas
Last synced: about 1 year ago
JSON representation
a virtual painter application using Python, which enables a person to draw on a canvas with just their fingers.
- Host: GitHub
- URL: https://github.com/raahulcodez/virtual-painter-air-canvas
- Owner: raahulcodez
- Created: 2023-10-31T05:55:25.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-11-01T13:34:20.000Z (over 2 years ago)
- Last Synced: 2025-05-11T02:07:12.680Z (about 1 year ago)
- Language: Jupyter Notebook
- Size: 72.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Virtual-Painter-Air-Canvas
A virtual painter application using Python, which enables a person to draw on a canvas with just their fingers.
## REQUIREMENTS
To run this project, you will need:
- Jupyter Notebook
- Python 3.6 or later
- OpenCV
- NumPy
- Mediapipe
## INSTALLATION
You can install the required packages using `pip`. Open a terminal or command prompt and type the following command:
```
pip install opencv-python numpy mediapipe
```
## HOW TO USE
1. Clone the repository.
2. Run the main.ipynb file
3. When the program starts, it will use your computer's webcam to display an image of what it sees.
4. To select a drawing color, place the tips of your index and middle fingers together. Then move your hand over the corresponding color in the color palette at the top of the screen.
5. To start drawing, lift your middle finger while keeping your index finger extended. Move your index finger around to draw on the screen.
6. To erase your drawing, select the eraser from the color palette, then use the same drawing gesture to erase.
7. To reset your drawing, select the paint icon in the far left.
8. To close the window, press 'q' key.