alexandrehassan / HandTracker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HandTracker

WINDOWS ONLY

Uses mediapipe to capture hand in each frame and then uses hand coordinates to perform relative calculations based on hand/finger position to control mouse.

The tip of the middle finger controls the mouse cursor, the responsiveness of the cursor is a function of the hand's distance from the screen so as to implement more rigid cursor control when the hand is further away and less certain to the code.

#BASIC CURSOR CONTROLS -INDEX FINGER DOWN THEN UP (LEFT CLICK) -RING FINGER DOWN THEN UP (RIGHT CLICK) -THUMB IN TOWARD PALM (SCROLL UP) -PINKY DOWN (SCROLL DOWN)

#ADVANCED CONTROLS -MOVE HAND CLOSE TO FRONT OF CAMERA (OPENS WINDOWS DICTATION) -BRING TIP OF THUMB AND TIP OF PINKY TOGETHER (OPENS TASK VIEW)

About


Languages

Language:Python 100.0%