sechaparroc / SimpleIKPosenet

Just a quite simple initial experiment with posenet and IK.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

Example

Installation

$ git clone https://github.com/sechaparroc/SimpleIKPosenet.git
$ cd SimpleIKPosenet

Setup

  1. Install Node.js

  2. Download nub with IK and put it in the Processing libraries folder.

  3. Install npm dependencies

$ npm install
  1. Run index.js to create a local HTTP server that listens at port 3000
$ node index.js
  1. Open http://127.0.0.1:3000 to interact with the p5.js posenet example.

  2. Run the posenetSketch in Processing.

  3. Have fun.

About

Just a quite simple initial experiment with posenet and IK.


Languages

Language:Processing 53.4%Language:JavaScript 38.8%Language:HTML 7.8%