A Python project that allows you to navigate your computer using your hands, just like a normal mouse. Left and right clicking functionalities are included, as well as dragging and typing through sign language.
Make sure to have the following modules installed:
opencv-python,mediapipe,pyautogui,tensorflow, andtkinter.
- Choose a preferred directory
- Open a terminal and clone the repository:
git clone git@github.com:smgestupa/virtual-mouse.git - Import the directory with your preferred IDE
- Open a terminal in the project folder
- Run the application with
python main.py
Index Fingerwill allow you to move your mouse across the screen- Putting
Index FingerandThumb Fingertogether will do a left click - Placing
Middle FingerandThumb Fingertogether will do a right click - Placing
Ring FingerandThumb Fingerwill start the sign language detection process:- Requiring you to select an input field by left clicking (Putting
Index FingerandThumb Fingertogether) - After selecting an input field, place both of your hands in a place the
Capturing Framecan see them - Your
Right Handwill be used to gesture signs that the program can detect - Your
Left Handwill be used to input characters: Open palm will input the characters, whilst a closed hand will not - Putting all or either of your hands for a few seconds will allow the program to return to its default state
- Requiring you to select an input field by left clicking (Putting