Giter Club home page Giter Club logo

realtime_gesture_volumecontrol's Introduction

How it works? (only Mac)

  1. run main.py in terminal
python main.py
  1. When you place your palm on the cam, the red box recognizes your hand.

  2. And Now, clench your fist. Then two blue rings are formed on the index finger and thumb.

  3. You can adjust the volume by spreading your index finger and thumb while holding your fist with the other three fingers. ( In fact, from the beginning, the controller works by folding the remaining three fingers except for the thumb and index finger.)

  1. As for the cam, if the palm faces upward rather than the front (ie, the cam faces downward), the action is reversed as shown below.



Step By Step Tutorial

1. Basic Hand Pose Estimation

Step 1. Import Libraries
Step 2. Load Modules
Step 3. Image Detection Function
Step 4. Control Web Cam

2. Advanced Hand Pose Estimation

Added features

  • Detect Left and Right Hand
Step 1. Import Libraries
Step 2. Load Modules
Step 3. Function Definition
     3-a. Get Each Hand Label
     3-b. Image Detection
Step 4. Control Web Cam

3. Hand Tracking Basic

  • Resolved No Response issues
  • Display fps(frame per seconds)
  • Display Circle on Image(Frame) based on image size

4. Hand Tracking using Module

  • Same Result(Video Display) with 3. Hand Tracking Basic
  • But Used Module that implemented as classes

5. Volume Control with Hand Tracking (FPS < 3)

  • Volume Control using osascript(on Mac)

5. Volume Control with Hand Tracking (FPS > 10)

  • Volume Control using NSAppleScript (on Mac)

6. Volume Control with Hand Tracking

  • New Design (Color, Shape, Circle Size)

7. Volume Control with Hand Tracking - version 2

  • Apply screen(Display Design) change when clenching and opening a fist

7. Volume Control with Hand Tracking - version 2, blue color

  • apply blue color

realtime_gesture_volumecontrol's People

Contributors

sw-song avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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