Skip to content

sejudav20/Hand_Tracking_Projects

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hand_Tracking_Projects

Hand Tracking Projects Using Opencv Created three main projects rock paper scissors, draw and mouse_controls each have its respective module. All three use the HandDetector and ResultAnalysis in hand_detector.py to identify and track hand gestures through Google's mediapipe library

Rock Paper Scissors

The program starts a screen with a timer prompting rock, paper scissors and then on shoot it will take a look at the hand position shown to the camera. The computer randomly chooses between the three options as well. The screen then displays the winner while starting the next game. By default the game can be closed by pressing q image

Draw

The program starts a camera screen. If the camera detects a hand a pointer will show up. If the user puts up two fingers it is counted as a press, three fingers is a drag and four fingers is used in some modes. There are several buttons along the button bar which can be selected by showing two fingers. Including changing color, erase previous changes, and add photos to overlay on your screen. The program provides enough tools to help explain and teach without the need for a stylus or a separate tablet. image

Mouse Controls

This module when run uses pyautogui in combination with hand detector to control the mouse on your screen. With one finger you can move the mouse. Two fingers to click, and three fingers to drag.

image

About

Fun Hand Tracking Projects Using Opencv

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages