/mp-hands-libmapper

A proper binding between libmapper and MediaPipe: Hands.

Primary LanguagePython

libmapper + MediaPipe: Hands

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.

Screenshot from 2023-07-31 16-30-02

Installation

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.

Initializing the Bindings

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.