Skip to content

Create digital paintings using hand movements captured by webcam, using the MediaPipe library for hand landmarks.

Notifications You must be signed in to change notification settings

sshovkov/finger-painting-hand-recognition-model

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Finger Painting with Hand Tracking

Create digital paintings using your hand movements captured by a webcam. By using the MediaPipe for hand tracking.

Prerequisites

  • Python 3.x
  • OpenCV (pip install opencv-python)
  • NumPy (pip install numpy)
  • MediaPipe (pip install mediapipe)

How to Run

  1. Clone this repository to your local machine.

  2. Make sure you have Python and the required libraries installed.

  3. Run the following command in your terminal or command prompt to start the finger painting application:

    python finger_painting.py

Controls

  • 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

Demo

finger_painting_small_file

Hand tracking is implemented using the MediaPipe library

About

Create digital paintings using hand movements captured by webcam, using the MediaPipe library for hand landmarks.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages