This is a simple JavaScript demo showing how to do face extraction using tracking.js.
Picture in screenshot from PEXELS.
# Clone this repository
$ git clone https://github.com/gbcreation/trackingjs-face-extraction
# Go into the repository
$ cd trackingjs-face-extraction
# Install dependencies
$ yarn
# or
# $ npm install
# Run the app and automatically open it in the default browser
$ yarn start
# or
# $ npm start
Load a picture using the Browse button or drag&drop a picture to the drop zone. Once the picture is loaded, click on the Extract faces button to extract faces.
Move your mouse cursor over extracted faces to see the location of the face on the original picture.
Gontran Baerts (Twitter: @GontranBaerts)