Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 609 Bytes

File metadata and controls

14 lines (10 loc) · 609 Bytes

dlib-face-recognition-with-api

Face recognition python app with API.

docker build -t face_recognition:1.0 .
docker run -p 8000:8000 face_recognition:1.0

swagger will be at: localhost:8000/docs

If you want to add more people to be recognized than Donald Trump and Barack Obama, you need to add more directories in train_dir before building docker. The directory name will be the label of the recognized face.

Example:
signal-2024-02-21-224324_002