This Python project utilizes MediaPipe to detect hands in real-time video and analyze finger positions and distances.
- Detect single or multiple hands (configurable).
- Draw hand landmarks for visualization.
- Identify finger up/down gestures.
- Calculate distance between two specified finger tips.
- Python 3.x
- OpenCV (cv2)
- MediaPipe (https://ai.google.dev/edge/mediapipe/solutions/guide)
pip install opencv-python mediapipe
- Clone or download this repository.
- Open a Python terminal in the project directory.
import handDetector as hd
Feel free to submit pull requests with improvements or new features!