Giter VIP home page Giter VIP logo

unitypythonmediapipehands's Introduction

Multithreaded Unity Python MediaPipe Hands

Testing hand tracking inside of Unity using Google MediaPipe Hands Python framework. Webcam readings, piping, and MediaPipe Hands all run on a different thread.

Instructions

  1. Requires Python, Unity Hub, a WebCam, and decently fast CPU.
  2. pip install mediapipe
  3. Clone this repository.
  4. Run the Unity project FIRST which acts as a server.
  5. Next run main.py which actually runs MediaPipe Hands.
  6. Go back to the running Unity project to see your hands inside of the game view.

Tips

  • You can set the DEBUG flag True in hands.py to visualize what is being seen and how your hands are being interpreted.
  • Improve the accuracy of the model by setting MODEL_COMPLEXITY to 1 inside hands.py

unitypythonmediapipehands's People

Contributors

ganeshsar avatar

Stargazers

 avatar Emir avatar SuperG avatar YangJun avatar  avatar  avatar Artyom Kirillov avatar luoxiyang avatar Egor Vasilyev avatar  avatar Emocap avatar Bunyamin Eymen Alagoz avatar

Watchers

 avatar

unitypythonmediapipehands's Issues

moving hands

is there any way to make hands moving in x and y axis

Too awesome

Hey I am having trouble comprehending how fucking awesome this is.. I have tried Avatar, Body Pose and both were too awesome so I'm going to try hands to see if it is less awesome to the point where I can handle it without getting the cops called on me for being so stoked. Any help with this issue would be appreciated.

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.