What DeepFace does
DeepFace is an open-source Python framework that runs the full face recognition pipeline (detect, align, normalize, represent, verify) in a few lines. DeepFace.verify decides whether two images show the same person, DeepFace.find searches a folder (or S3 or FTP) for an identity, DeepFace.represent returns embeddings, and DeepFace.analyze predicts age, gender, emotion and race. Newer database-backed functions (register, identify, search, build_index) store embeddings in Postgres, Mongo or vector databases with optional approximate nearest-neighbour search. There is also real-time webcam analysis and an anti-spoofing check.
Install with pip install deepface. It runs on ONNX Runtime by default (a few hundred MB), or on TensorFlow or PyTorch if you install those extras. A bundled service exposes the same functions over REST (gunicorn, port 5005) or gRPC, and there is a Docker image. The README also points to deepface.dev, a managed API built on DeepFace, for teams that do not want to host it.
