This repo presents a binding between libmapper and MediaPipe: Hands in order to use pose-estimation of hand-tracking data as an input controller to multi-media systems supported within the libmapper ecosystem.
To use the binding scripts found in this repo, you'll need to install the following PIP packages.
You can then either clone the git repository in its entirety or download the mph-bindings.py
script directly.
To initalize the bindings, run the script:
./mph-bindings.py
You can add flags to change the behavior of the script. For example, ./mph-bindings.py --max-hands X
, where X
is an integer will set the amount of hands that mediapipe will track at once.
./mph-bindings.py --help
will provide more information about the available flags.