Quick month-long project so i can watch youtube in bed while my desktop stays across the room. No i refuse to use wireless keyboards/mice.
- python: 3.10
- pytorch
- scikit-learn
- mediapipe (pip)
- pyautogui (pip)
- numpy
- rerun (optional, for data visualisation)
-
Cursor location with your index finger.
-
Left click with extended thumb.
-
Right click with same thumb motion, plus extended pinkie.
-
Scroll up/down with index+middle fingers extending up/down
To be added: extra hand gestures for additional macros
python aerialmouse.pyControls mouse location with your index finger.
python simplecursorcontrol.pyCollect data of your hand gestures. Hold down class number to keep collecting keypoint positions of hand in that class.
python datacollect.pyTrain data of your hand gestures.
python datatrain.pyUse saved model on live camera stream.
python datalive.py