This application allows you to control YouTube videos using hand gestures. By leveraging MediaPipe for hand gesture detection and Selenium for browser automation, the program maps specific hand gestures to YouTube actions such as play/pause, like/dislike, and seeking forward/backward. Simply perform gestures in front of your webcam, and the application will translate them into commands to control YouTube in real-time.
- Play/Pause: Open hand gesture to toggle play/pause.
- Like/Dislike: Thumbs up to like, thumbs down to dislike.
- Seek Forward/Backward: Gestures to skip or rewind the video.
- Real-Time Gesture Detection: Uses your webcam to detect and respond to gestures instantly.
- MediaPipe: For hand gesture detection and tracking.
- Selenium: For automating YouTube in the browser.
- OpenCV: For webcam input and video processing.
- The application detects hand gestures using your webcam.
- It maps these gestures to specific YouTube actions (e.g., play, pause, like, seek).
- Selenium interacts with the YouTube website to perform the corresponding actions.
- Hands-free YouTube control for accessibility.
- Fun and interactive way to control media playback.
- Learning tool for gesture recognition and browser automation.
- Clone the repository:
git clone https://github.com/solve-ease/WavePlay.git cd WavePlay - Install dependencies using
requirements.txt:pip install -r requirements.txt
- Download the appropriate WebDriver (e.g., ChromeDriver) and ensure it's in your PATH.
- Run the script:
python3 main.py
- Perform gestures in front of your webcam to control YouTube.
Feel free to contribute, report issues, or suggest improvements! π