sy17258/GestureControlledMediaPlayer
0
title: Hand Gesture-Controlled Media Player emoji: ๐ colorFrom: indigo colorTo: purple sdk: docker app_port: 7860 pinned: false ---
Hand Gesture-Controlled Media Player
... ---
Gesture Controlled Media Player
This project is a web-based media player that allows users to control video playback using hand gestures captured through their webcam. It uses MediaPipe's hand tracking and gesture recognition to enable a touchless interface for controlling media playback.
Features
- Gesture Controls: Control your media player with simple hand gestures
- Open Palm: Play video
- Closed Fist: Pause video
- Thumbs Up: Increase volume
- Thumbs Down: Decrease volume
- Victory Sign: Next track
- Swipe Left/Right: Navigate between videos
- Real-time Hand Tracking: Visualizes hand landmarks and gestures in real-time
- Responsive Design: Works on desktop and mobile devices
- Local File Playback: Play videos from your local device
How to Use
- Click the "Open Camera" button to activate your webcam
- Allow camera permissions when prompted
- Upload video files using the file selector
- Use hand gestures to control playback:
- Show an open palm to play
- Make a fist to pause
- Give a thumbs up to increase volume
- Give a thumbs down to decrease volume
- Make a victory sign to skip to the next video
- Swipe left/right to navigate between videos
Technology Stack
- React.js for the UI
- MediaPipe for hand tracking and gesture recognition
- Web APIs (getUserMedia, Canvas API)
- CSS for styling and animations
Privacy
This application processes all video and gesture data locally in your browser. No video or image data is sent to any server.
Limitations
- Requires a webcam and browser permissions
- Works best in well-lit environments
- Performance may vary based on your device's capabilities
- Gesture recognition accuracy depends on camera quality and positioning
Future Improvements
- Additional gesture controls
- Customizable gesture mappings
- Support for more media formats
- Improved gesture recognition accuracy
Try It Out
Upload your videos and control them with hand gestures - no touch required!
This project was created as a demonstration of computer vision and gesture recognition technologies in web applications.
