This project is a real-time computer vision application that uses a laptop webcam to detect and classify hand gestures. The system counts the number of fingers shown (0–5) and displays the result live on the screen.
- Python
- OpenCV
- MediaPipe
- Real-time webcam input
- Hand landmark detection
- Finger count classification (0–5)
- Fullscreen display with live results
-
Install dependencies: pip install opencv-python mediapipe
-
Run the program: python hand_gesture.py
-
Press
Qto exit.
The detected finger count is displayed on the top-left corner of the screen in real time.