Skip to content

SMFloris/mediapipe-hand-tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mediapipe hand tracking web-server

Instructions

For windows, in order to install mediapipe:

https://ai.google.dev/edge/mediapipe/framework/getting_started/install#installing_on_windows

Recommended to use venv

virtualenv .venv
source .venv/bin/activate

Install dependencies

pip install -r requirements.txt

Download mediapipe model and put it in folder

For more details: MediaPipe

wget -q https://storage.googleapis.com/mediapipe-models/gesture_recognizer/gesture_recognizer/float16/latest/gesture_recognizer.task

Run

# running in interactive mode:

python app.py --resolution-width 1920 --resolution-height 1080 --camera 0

# running in server mode (no window):

python app.py --server --port 8765

About

Use mediapipe to track hand movements. In server mode it exposes a port where the tracking data is readily available.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors