P.S. Preferably use python 3.9.
Before running code, change the path string to the directory in which you have your python file.
AIVirtualMouse.py uses gestures as a way to control your mouse.
- 1 finger - drags mouse from 'a' to 'b' while single click
- 2 fingers together - moves mouse
- 2 fingers apart -clicks one
- 3 fingers - double click
- Pinky finger - right clicks
- Thumb+Index+middle+ring finger - C
- middle + pinky finger - E
- Thumb+Index+middle+pinky finger - close
- 4 fingers - Select and move mouse
- Thumb - Release mouse and any other key
- middle + ring finger - Toggle between tabs
- Last Three Fingers - Turn on/off Caps lock
- Last Two Fingers - press esc
- middle finger - copy
- ring finger - cut
- thumb+little finger - paste
- middle+ring finger close - zoom out
- middle+ring finger far - zoom in
- thumb+index finger close - volume down
- thumb+index finger far - volume up
LetterML.py is the configured letter recognizing program that is able to detect images you draw in it, convert it to a character and execute the function To draw, index finger up. To guess the character, keep all fingers up except the pinky.
Functions performed -
- N : Notepad
- K : Keyboard (Needs to have the required app installed on the pc)
- A : Amazon
- B : Bing
- C : Calculator
- D : Discord
- E : Ebay
- F : Facebook
- G : Google
- H : Hulu
- I : Instagram
- J : JP
- L : Instagram
- M : MIT
- O : Outlook
- P : This PC
- Q : Quora
- R : Reddit
- S : Spotify
- T : Twitter
- U : Unicef
- V : Valve
- W : Whatsapp
- X : Exit
- Y : YouTube
- Z : Zoom
- 1 : Instagra
- 4 : Hulu
- 5 : Spotify
- 6 : Google
- 0 : Outlook