Create digital paintings using your hand movements captured by a webcam. By using the MediaPipe for hand tracking.
- Python 3.x
- OpenCV (
pip install opencv-python
) - NumPy (
pip install numpy
) - MediaPipe (
pip install mediapipe
)
-
Clone this repository to your local machine.
-
Make sure you have Python and the required libraries installed.
-
Run the following command in your terminal or command prompt to start the finger painting application:
python finger_painting.py
- Right hand: Use your right index finger to draw on the screen.
- Left hand: Raise and hold your left hand to stop drawing.
- Space bar: Toggle painting mode
- 'q' key: Quit
Hand tracking is implemented using the MediaPipe library