
A demonstration of the LED gesture control system in action.
This project uses Python and MediaPipe to control an LED with hand gestures. It runs on Python 3.7 and detects specific gestures to turn the LED ON and OFF.
- Detects hand gestures using MediaPipe.
- Switches an LED ON and OFF based on predefined gestures.
- Runs on Python 3.7 with minimal dependencies.
- Can be extended for more complex gesture-based controls.
git clone https://github.com/sployal/Led_guesture_control_python
cd Led_Gesture_Control_PythonEnsure you have Python 3.7 installed. Then, install the required libraries:
pip install mediapipe opencv-python numpyRun the Python script to start gesture recognition:
python main.pyMake sure your webcam is working and that the LED is connected properly to your circuit.
| Gesture | Action |
|---|---|
| Open Palm | Turn LED ON |
| Closed Fist | Turn LED OFF |
This project is licensed under the MIT License - see the LICENSE file for details.
Pull requests are welcome! For major changes, please open an issue first to discuss your ideas.