A Python-based application that allows you to control your computer using hand gestures via a webcam.
- Mouse Control: Move the cursor by pointing with your index finger.
- Click: Pinch your thumb and index finger to click.
- Scroll: Close your middle and ring fingers to scroll down; open them to scroll up.
- Minimize: Minimize the active window.
- Visual Interface: Real-time overlay showing detected gestures and finger states.
- Python 3.7+
- Webcam
- Clone the repository.
- Install dependencies:
pip install -r requirements.txt
- Run the application:
python main.py
- Use the following gestures:
- Point: Extend Index finger (L-shape).
- Click: Pinch Thumb and Index.
- Scroll Down: Close Middle and Ring fingers.
- Scroll Up: Open Middle and Ring fingers.
- Idle: Open Palm.
- Ensure good lighting.
- If gestures aren't detected, check the "Fingers" debug display at the top of the screen.