This project leverages computer vision and audio control libraries to create a real-time hand gesture-based volume control system with API endpoints for automation.
- Real-time hand landmark detection using MediaPipe.
- Volume control based on the distance between the thumb and index finger.
- Visual feedback with landmarks, connections, and a volume bar.
- FPS display for performance monitoring.
- API endpoints for starting and stopping the volume control.
Ensure you have the following installed:
- Python 3.7+
- A webcam
Install the necessary libraries using pip
:
pip install opencv-python mediapipe numpy comtypes pycaw flask