faaip / HandPose-OSC

Handtracking using MediaPipe HandPose. Runs as an Electron app and outputs OSC
Apache License 2.0
28 stars 7 forks source link
handpose handtracking osc

HandPose OSC

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.

demo

Running the program

If you're not interested in modifying the code, you can just download the latest release.

Steps

Make sure you have node.js installed. Additionally this has been developed using yarn.

  1. Install npm dependencies using yarn install. Since Electron's kind of big in size, this make take a while depending on your network environment.
  2. Launch using yarn start
  3. The node.script emits the detected results as a OSC. With each OSC address being a detected landmark.

Building Electron App

First install all dependencies using yarn install.
Then create the executable by running yarn run dist

OSC output

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: