Coder Social home page Coder Social logo

gittecho / gesturecontroller Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 12.66 MB

Automation using gesture control with alert system

License: MIT License

C++ 80.54% Python 19.46%
arduino boltiot computer-vision cpp esp8266 gesture-detection gesturecontrol mediapipe numpy pyfirmata python

gesturecontroller's Introduction

GestureControl

GestureControl is an IoT device allowing users to control lights through hand gestures captured by a camera.

Software and Tools

  • Languages: Python, C++
  • Environments: VS Code, Arduino IDE, Anaconda
  • Libraries: mediapipe, cv2, pyfirmata, boltiot, numpy, requests

Hardware Components

  • Arduino UNO
  • Wi-Fi Module
  • Relay Module
  • Indicators (lights & buzzer)

Features

  • Gesture-Based Automation: Control various devices and actions using hand gestures.
  • Intuitive Gestures: Perform natural hand gestures to trigger specific commands.
  • Customizable Actions: Define and customize actions corresponding to different gestures.
  • Power Alerting System: Receive alerts for prolonged device usage.
  • Integration with Bolt IoT App and API: Seamless communication and control.

Setup

# Clone repository
git clone https://github.com/yourusername/GestureControl.git

# Navigate to project directory
cd GestureControl
# Install dependencies
pip install -r requirements.txt

# Upload Arduino code to Arduino UNO board
# Connect hardware according to schematic
# Run Python script
python main.py

How it Works

  1. Capture Gestures: Continuously capture hand gestures via live camera feed.
  2. Gesture Recognition: Utilize computer vision techniques to recognize specific hand gestures.
  3. Communication with Arduino: Send commands to Arduino via the COM interface for light control.
  4. Power Usage Monitoring: Monitor duration when all lights are on. Alert user and send notification if exceeded threshold.

Screenshots

Screenshot 1 Screenshot 2

Video Demo

Link to Video Demo

Contributing

Contributions welcome! Submit issues or pull requests to enhance GestureControl.

License

This project is licensed under the MIT License.

gesturecontroller's People

Contributors

gittecho avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.