Blazeface demo
Contents
This demo shows how to use the Blazeface model to detect faces in a video stream.
Setup
cd into the demos folder:
cd blazeface/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 blazeface locally, and want to test the changes in the demos
Cd into the blazeface folder:
cd blazeface
Install dependencies:
yarn
Publish blazeface locally:
yarn build && yarn yalc publish
Cd into the demos and install dependencies:
cd demos
yarn
Link the local blazeface to the demos:
yarn yalc link @tensorflow-models/blazeface
Start the dev demo server:
yarn watch
To get future updates from the blazeface source code:
# cd up into the blazeface directory
cd ../
yarn build && yarn yalc push