This app detects and recognizes individuals listed under .\labeled_images
from a webcam in a web browser using face-api.js JavaScript library.
- Clone the repo.
- Open it in Visual Studio Code with Live Server extension installed.
- Right click
index.html
and then click Open with Live Service.
- Copy a new person image to
.\labeled_images
directory. Make sure the image has.jpg
extension. - Add the image name (without extension) to
labels
array in.\js\face-detection.js
. - Refresh
index.html
page in a web browser.