Skip to content

gbcreation/face-extraction-with-face-api.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Face Extraction Demo with face-api.js

What is this?

This is a simple JavaScript demo showing how to do face extraction using face-api.js.

Screenshot

Picture in screenshot from PEXELS.

How to run the demo?

# Clone this repository
$ git clone https://github.com/gbcreation/face-extraction-with-face-api.js

# Go into the repository
$ cd face-extraction-with-face-api.js

# Install dependencies
$ yarn
# or
# $ npm install

# Run the app and automatically open it in the default browser
$ yarn start
# or
# $ npm start

How to use it?

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. Detected faces are displayed below the original picture.

Move your mouse cursor over extracted faces to see their location in the original picture. A red box is drawn around the face. The number inside the box is the score of the detected face. The face landmarks are drawn in blue.

Author

Gontran Baerts (Twitter: @GontranBaerts)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published