Skip to content

Latest commit

 

History

History
45 lines (25 loc) · 891 Bytes

File metadata and controls

45 lines (25 loc) · 891 Bytes

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