The demo shows how to estimate segmentation in real-time from a webcam video stream.
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
Cd into the body-pix folder:
cd body-pix
Install dependencies:
yarn
Build and publish the body-pix locally:
yarn publish-local
Cd into the demos and install dependencies:
cd demos
yarn
Link the local body-pix to the demos:
yarn 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