/hand-mouse-control

Control mouse using your hand. Uses mediapipe https://mediapipe.dev/ to detect and find location of hand.

Primary LanguagePython

hand-mouse-control

Control mouse using your hand. Uses mediapipe https://mediapipe.dev/ to detect and find location of hand.

How to use:

  1. $ pip install -r requirements.txt
  2. $ python main.py
  3. hold index finger up (like this 👆) to move mouse pointer
  4. hold index finger and middle finger up to left click
  5. hold it and move hand to click and drag
  6. hold five fingers up to right click
  7. hold it and move to right click and drag
  8. 👆 to release click

HandTrackingModule from https://www.computervision.zone/courses/ai-virtual-painter/