Giter Site home page Giter Site logo

aayush9027 / herculean-hand Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 66 KB

An AI-based application which let us do tasks by moving our Hand in Air .It is developed in python using OpenCv and MediaPipe

License: MIT License

Python 100.00%
python machine-learning opencv automation numpy pyautogui pycaw hand-recognition hand-landmark palm-detection

herculean-hand's Introduction

Herculean HandπŸ‘†βœŒπŸ–πŸ‘Œ

An AI-based application which let us do tasks by moving our Hand in Air. It is developed in python using OpenCv and MediaPipe

Tech Stacks:πŸ’»

  • OpenCV (for image processing and drawing)
  • Mediapipe (for Hand Tracking)
  • PyAutoGui (for controlling mouse movement and click)
  • Pycaw (to link up with the system's volume)
  • Numpy

Prerequisites:

  • You should install python version 3.7 or more
  • Import all modules required for the project using this command
pip install <module name>

Features :

  • Can track your hand in real-time
  • Can Move Your Cursor corresponding to your Index finger movement
  • Can draw on your System screen based on your Index finger movement
  • Can change your computer's volume based on your hand activity

Working :

  • As You Run the Code , a window will pop-up to see How many Fingers of your Hand are Up.

  • According to the count of Fingers which are Up ,User will be redirected to that numbered task.

  • Tasks which User can perform are-

    1. AI Virtual Mouse :☝✌

    • As soon as the user shows up his hand in the camera the application detects it & draws a bounding box around the hand.
    • If User shows only Index Finger than he/she can Move Cursor.
    • To Click, User's Index and Middle finger both should be Up simultaneously.

    final

    2. AI Virtual Paint :☝✌

    • As soon as the user shows up his hand in the camera the application detects it & draws a bounding box around the hand.
    • If User shows only Index Finger than he/she is in drawing mode.
    • To Select different color or eraser from the top of Canvas, User must select it by taking his both Index and Middle finger together at the top of icon.

    Ai-Virtual-Painter_f

    3. Gesture Volume Control :πŸ€πŸ‘Œ

    • As soon as the user shows up his hand in the camera the application detects it & draws a bounding box around the hand.
    • According to the distance between user's Index finger and Thumb it displays the volume in the volume bar on the screen
    • To set the volume as the system's volume user has to bend his pinky finger simultaneously.

    volume-control_f

Note :πŸ“

Feel free to file a new issue with a respective title and description on the Herculean-Hand. If you already found a solution to your problem, I would love to review your pull request!

Contribution :πŸ“²

  1. Clone the repository
$git clone https://github.com/Aayush9027/Herculean-Hand.git
  1. Check the status of your file
$git status

3.For using VScode for editing your files

$git code .
  1. To directly add your files to github
$git add .
  1. After writing your code commit your changes
$git commit -m  <message>
  1. To push your code to reposoitory
$git push origin master

Thats all about installation and version control with Git

herculean-hand's People

Contributors

aayush9027 avatar

Stargazers

 avatar

Watchers

 avatar

herculean-hand's Issues

bug report

D:\Hand\Herculean-Hand>ls
Header Herculean_Hand.py LICENSE README.md pycache handtrackingmodule.py

(handland) D:\Hand\Herculean-Hand>python Herculean_Hand.py
INSTRUCTIONS-
A screen will be open once you type START
Show 1/2/3 Fingers according to numbering given to the tasks below
Tasks which you can perform-
1.AI Virtual Mouse
2.AI Virtual Paint
3.Gesture Volume control
Once you are doing a task the only way to end the task is by pressing Escape key
start

WARNING: Logging before InitGoogleLogging() is written to STDERR
F20220906 14:00:32.124727 11380 collection.h:55] Failed to get tag "C2__PACKET" index 0
*** Check failure stack trace: ***
F20220906 14:00:32.124727 4444 collection.h:55] Failed to get tag "C2__PACKET" index 0

Process finished with exit code -1073740791 (0xC0000409)

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.