In this repo I used Mediapipe package for extracting landmark from a hand and then I send these landmarks data to the Unity using socket and then I show the landmarks and their connections.
pip install -r requirements.txt
Then you need to install Unity
. You can download and install it from here.
clear; python main.py
clear; python main.py --help
For Example:
--webcam
: You can change your webcam ID. default:0
--min-conf
: You can change the minimum number of confidence for hand detection. default:.7
--min-track-conf
: You can change the minimum number of confidence for hand tracking. default:.8
--ip
: You can change the IP address to send data to Unity and C#. default:127.0.0.1
--port
: You can change the port to send data to Unity and C#. default:5052