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.
