Skip to content

This model utilizes MediaPipe's hand tracking functions to get hand landmarks(reference points) that enable the user to actually draw stuff on the screen.

Notifications You must be signed in to change notification settings

AnmolVirdi/AI_Virtual_Painter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AI BASED VIRTUAL PAINTER

  • Allows users to paint using their index finger, while in a video.

  • Draw stuff.

    drawing
  • Change colors.

    drawing
  • Erase.

    drawing
  • Clear the screen.

    drawing

Basic Functionality (For non-programmers) :

  • You'll enter drawing mode when only Index finger is up.

  • If the middle finger is also up, you'll enter selection mode.

  • Selection mode allows you to switch between colors/eraser or clear the screen.

Brief:

This model utilizes MediaPipe's hand tracking functions to get hand landmarks(reference points) that enable the user to actually draw stuff on the screen.

  • Libraries used: OpenCV, MediaPipe, os, numpy, time
  • handtrackingmodule.py is actually a class with functions like hand-landmark detector, fingers-up check and much more. We have used an instance(detector) from this class in our main program.
  • Index finger tip's landmark is used to draw on the canvas.

The steps and tacks have been explicitly mentioned in the comments of the code.

Dockerfile has been provided, for Linux environment(Ubuntu)

About

This model utilizes MediaPipe's hand tracking functions to get hand landmarks(reference points) that enable the user to actually draw stuff on the screen.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published