/nodejs-tf-body-pix-test

NodeJS project to test body-pix JS library.

Primary LanguageJavaScriptApache License 2.0Apache-2.0

nodejs-tf-body-pix-test

NodeJS project to test body-pix JS library.
Based on article: https://heartbeat.fritz.ai/getting-started-with-image-segmentation-using-tensorflow-js-a157e1cbbd51

Tools

  • Win 10 Command / Docker Ubuntu 20.04
  • Node.JS
  • npm/yarn

NodeJS Modules

C:\Users\joe\Documents\git-local\nodejs-tf-body-pix-test\body-pix>node -v
v12.18.3

C:\Users\joe\Documents\git-local\nodejs-tf-body-pix-test\body-pix>npm -v
6.14.6

C:\Users\joe\Documents\git-local\nodejs-tf-body-pix-test\body-pix>yarn -v
1.22.10

Install body-pix library

  • npm install -g yarn
  • yarn add @tensorflow/tfjs-node @tensorflow-models/body-pix fs jimp

Commands

node index.js

For AR Demo - BodyPix Web Service: node express.js

Screenshots