Giter Site home page Giter Site logo

arnabkumarroy02 / hand-tracking-module Goto Github PK

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

This project is a Hand Tracking Module made using Python GUI. This uses the opencv-python, mediapipe libraries for hand detection and tracking in the frame. This is just a module and can be used for other applications.

License: MIT License

Python 100.00%
opencv-python python mediapipe

hand-tracking-module's Introduction

Hand-Tracking-Module

The code captures frames using a web camera (tested on windows camera) and outputs a video with the schematic scaling of all the fingers. In the video, there will be a number of dots that are connected to each other spanning all over the hand. Works for multiple hands.

This project is written in Python 3.8.10. The following libraries are used in this project and necessary to be add to your computer: • Time - usually comes with Python 3.8.10 • cv2 (4.5.5) - https://pypi.org/project/opencv-python/ • Mediapipe (0.8.10) - https://google.github.io/mediapipe/

The code is consisting of a single file and can be executed from the commandline or terminal by calling python HandTrackingMin.py When running the python file, you can expect to see the real time frame from your camera with a bounding rectangular framing your hand. The bounding rectangular will contain red circles corresponding to the fingertips and finger webbing. The centre mass of your hand will also appear in the bounding rectangular. A number on the upper left side of the frame corresponds to the number of frame rates in real time.

To increase accuracy of the gesture recognition, it is recommended to run the code in a bright light room. Additionally, this code can analyse multiple hands, and the hands needs to be in front of the camera for better recognition.

References: cv2 documentation https://pypi.org/project/opencv-python/ Mediapipe documentation https://google.github.io/mediapipe/

For any question related to the code please contact via email: [email protected]

Arnab Kumar Roy

hand-tracking-module's People

Contributors

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