Skip to content

Latest commit

 

History

History
22 lines (19 loc) · 1.69 KB

README.md

File metadata and controls

22 lines (19 loc) · 1.69 KB

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