Author: Alex Waisman
Control your mouse cursor using hand gestures in real time using your webcam.
How it works:
- Captures video from webcam
- Tracks hand landmarks using MediaPipe
- Moves mouse with Index Finger
- Right Click: Two fingers up (Index & Middle)
- Left Click: Closed Fist
- Window is pinned to top-left for visibility
- Press ESC to quit
To run:
- Install requirements: pip install -r requirements.txt
- Run: python virtual_mouse.py
This is part of my journey learning OpenCV and MediaPipe.