Skip to content

Latest commit

 

History

History
 
 

demos

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

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