Fork of lysdexic audio's n4m-handpose, but runs stand-alone and outputs OSC instead of using Max
Wraps MediaPipe Handpose inside electron and serves the detected parts via OSC.
If you're not interested in modifying the code, you can just download the latest release.
Make sure you have node.js installed. Additionally this has been developed using yarn.
- Install npm dependencies using
yarn install
. Since Electron's kind of big in size, this make take a while depending on your network environment. - Launch using
yarn start
- The node.script emits the detected results as a OSC. With each OSC address being a detected landmark.
First install all dependencies using yarn install
.
Then create the executable by running yarn run dist
By default the program outputs OSC to localhost, port 8008. This can be changed in the GUI. You can choose what to send over OSC from the GUI. By default the program sends:
- Confidence:
- Hand in view confidence /handInViewConfidence [0..1]
- Bounding box
- top left: /topLeft [x, y, z]
- bottom right: /bottomRight [x, y, z]
- Landmarks:
- landmarks /landmarks (21 * [x, y, z])
- Annotations:
- thumb /annotations/thumb (4 * [x, y, z])
- index finger /annotations/indexFinger (4 * [x, y, z])
- middle finger /annotations/middleFinger (4 * [x, y, z])
- ring finger /annotations/ringFinger (4 * [x, y, z])
- pinky /annotations/pinky (4 * [x, y, z])
- palm base /annotations/palmBase [x, y, z]