SimpleIKPosenet
Just a quite simple initial experiment with posenet and IK.
The current Sketch allow to modify the target's position (red sphere) with the nose that a Kinematic chain must reach. To do so an adaptation of this p5 sketch is used to send the skeleton data to a Processing sketch. The Processing sketch uses a experimental distribution of the nub library to generate the Kinematic chain and handle the IK behavior.
Example
Installation
$ git clone https://github.com/sechaparroc/SimpleIKPosenet.git
$ cd SimpleIKPosenet
Setup
-
Install Node.js
-
Download nub with IK and put it in the Processing libraries folder.
-
Install npm dependencies
$ npm install
- Run index.js to create a local HTTP server that listens at port 3000
$ node index.js
-
Open http://127.0.0.1:3000 to interact with the p5.js posenet example.
-
Run the posenetSketch in Processing.
-
Have fun.