Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LED Gesture Control using Python

Project Demo
A demonstration of the LED gesture control system in action.

📌 Overview

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.

🚀 Features

  • 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.

🛠️ Installation

1️⃣ Clone the Repository

git clone https://github.com/sployal/Led_guesture_control_python
cd Led_Gesture_Control_Python

2️⃣ Install Dependencies

Ensure you have Python 3.7 installed. Then, install the required libraries:

pip install mediapipe opencv-python numpy

🔧 Usage

Run the Python script to start gesture recognition:

python main.py

Make sure your webcam is working and that the LED is connected properly to your circuit.

🤖 Gesture Controls

Gesture Action
Open Palm Turn LED ON
Closed Fist Turn LED OFF

📜 License

This project is licensed under the MIT License - see the LICENSE file for details.

🤝 Contributing

Pull requests are welcome! For major changes, please open an issue first to discuss your ideas.

About

uses python to control leds

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages