Face landmarks detection demo
Contents
The face landmarks detection demo shows how to estimate keypoints on a face.
Setup
cd into the demo folder:
cd face-landmarks-detection/demo
Install dependencies and prepare the build directory:
yarn
To watch files for changes, and launch a dev server:
yarn watch
If you are developing face-landmarks-detection locally, and want to test the changes in the demos
Cd into the face-landmarks-detection folder:
cd face-landmarks-detection
Install dependencies:
yarn
Publish face-landmarks-detection locally:
yarn build && yarn yalc publish
Cd into the demos and install dependencies:
cd demo
yarn
Link the local face-landmarks-detection to the demos:
yarn yalc link @tensorflow-models/face-landmarks-detection
Start the dev demo server:
yarn watch
To get future updates from the face-landmarks-detection source code:
# cd up into the face-landmarks-detection directory
cd ../
yarn build && yarn yalc push
To Hadley
- npm i
- npm run watch