Skip to content

SY3141/VirtualMouse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Virtual Mouse

Control a mouse using a camera and hand gestures

Virtual Mouse Created by Sunny Y.

Program designed to replace mouse control with a camera.

Installation Setup

  1. Install Python 3.9+

  2. In CLI, install requirements

pip install -r requirements.txt
  1. Run main.py

Keybinds

"1" toggles mouse control on/off

"2" toggles landmark numerical labeling for developer testing

"3" toggles hand landmark connections

"4" toggles virtual mousepad to half screen or full screen

"5" toggles the Heads Up Display(HUD) on/off

"6" toggles the camera feed window on/off

"Tab" Exits the program

Webcam usage

Raising all fingers will disable mouse movement. This is analogous to lifting your "mouse" off the mousepad to adjust position

3 fingers raised will middle click

2 fingers raised will right click

Pinching your thumb and index finger will left click

About

Control a mouse using a camera and hand gestures

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages