Skip to content

This repository contains codes to capture the hand gesture and sending the data with an UDP connection into Unity locally. Refer here for the Unity source code https://github.com/haneure/Hand-Tracking-Receiver

License

Notifications You must be signed in to change notification settings

haneure/Hand-Tracking-Capture

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hand Tracking Capture (Python3)

Thumbnail

This Python project can run alone. This program will use your camera and will process the image into landmarks. The landmarks can be used for training the hand gesture recognition model.

Requirements

  • Python3.9 (this is the specific version that I use on this project)

Installation

  • Use the venv

Linux:

source venv/bin/activate

Windows:

.\venv\Scripts\activate
  • Install the needed library from requirements.txt
pip install -r /path/to/requirements.txt

or

python3 -m pip install -r /path/to/requirements.txt
  • To deactivate the venv
deactivate

Commands (keyboard keys)

r - record mode


Thumbnail


Will enter record mode

0 - 9

Thumbnail
In record mode, you can record currently detected hand landmarks and output it into a .csv file. The default file name is landmark.csv. The .csv file is automatically incremented.

n - normal mode

Return to normal mode (detecting hands only)

Reference

Python

hand-gesture-recognition-using-mediapipe in English
hand-gesture-recognition-using-mediapipe Japanese(Original)

About

This repository contains codes to capture the hand gesture and sending the data with an UDP connection into Unity locally. Refer here for the Unity source code https://github.com/haneure/Hand-Tracking-Receiver

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages