Skip to content

IsmailAbousalem/HandTrackingMouse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HandTrackingMouse

Experience touchless interaction with your computer via my Python/AI project! Control your mouse with gesture-based hand tracking.

PyAutoGUI, cv2, and MediaPipe are used to track and detect the hand and plot different points onto the fingers. The pink border on screen is related to the edge of the computer screen. If you move your finger to the edge of the pink box, you are at the edge of your monitor.

image

Using your pointer finger, the AI and can detect where each landmark (plotted points) are for each finger and determine what position they are in. If all fingers are down, except the pointer finger, this registers as me taking control of the cursor movement.

image

The pink dots on the Pointer and Ring finger determine the distance of each finger to eachother. If the fingers are within a certain distance (close enough to where they are together), then it will register a mouse click.

image

About

Control your mouse with your hand

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages