This is an application that enables one to vitually paint in the air using their fingers. It is developed in python on openCV and Mediapipe. So go ahead and recreate your imaginations in the air !
Use the link below to close this repository to your machine.
$ https://github.com/FaizAlam/Vaint.git
$ cd Vaint/
$ tree
.
├── Header
├── 1.png
├── 2.png
├── 3.png
└── 4.png
├── __pycache__
├── templates
└── index.html
├── README.md
├── app.py
├── cam.py
├── VirtualPainter.py
├── HandTrackingModule.py
└── requirements.txt
These are the required dependencies needed to setup the environment
$ pip3 install -r requirements.txt
- To run on local machine without a Flask server.
$ python3 run VirtualPainter.py
- To run as a local host on a Flask server.
- Run the Flask app
$ python3 run app.py
- On your phone's browser enter your machine's ip and port 5000. Say ip is 192.168.1.1.
192.168.1.1:5000
- Use your index finger to draw.
- To change color/ use eraser, use index and middle fingers to select it by hovering on it.
- Enjoy painting !