Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
.babelrc
README.md
index.html
index.js
package.json
part_color_scales.js
yarn.lock

README.md

body-pix Demos

Contents

The demo shows how to estimate segmentation in real-time from a webcam video stream.

Setup

cd into the demos folder:

cd body-pix/demos

Install dependencies and prepare the build directory:

yarn

To watch files for changes, and launch a dev server:

yarn watch

If you are developing body-pix locally, and want to test the changes in the demos

Install yalc:

npm i -g yalc

cd into the body-pix folder:

cd body-pix

Install dependencies:

yarn

Publish body-pix locally:

yalc push

Cd into the demos and install dependencies:

cd demos
yarn

Link the local body-pix to the demos:

yalc link @tensorflow-models/body-pix

Start the dev demo server:

yarn watch

To get future updates from the body-pix source code:

# cd up into the body-pix directory
cd ../
yarn build && yalc push