DeepFace
Python face recognition library: verify two faces, search a folder of faces, and estimate age, gender and emotion.
Python library · Open source · Data analysis and case notes · github.com
- Takes
- Image
- Pricing
- Free, open source
- Footprint
- Passive · no contact with target
- Account
- Not needed
- API
- No public API
- Last verified
- Nov 26, 2026
Python face recognition library: verify two faces, search a folder of faces, and estimate age, gender and emotion. It takes image. Read the cons before you build a workflow on it.
What it does
DeepFace wraps state-of-the-art face recognition models behind a few function calls. verify compares two images and says whether they show the same person; find searches a folder or database of images for matches; analyze estimates facial attributes such as age, gender, emotion and race. It runs on ONNX Runtime, TensorFlow or PyTorch.
Investigators use it to compare a face in a new photo against known images of a subject or to cluster faces in a collection of pictures. Everything runs locally, so images do not leave your machine.
Footprint is passive: it reads its own index or third-party records and does not contact the target. No account is needed. There is no public API.
- +Very widely used and actively maintained
- +Runs locally on your own data
- +Simple Python interface
- +Free and open source (MIT)
- −Requires Python coding
- −Face matches are probabilistic and can mislead
- −Attribute estimates such as race and emotion are unreliable
When to use it
- 01Use it when you need to test whether two photos likely show the same person.
- 02Use it when you want to find every image of one face in a large local collection.
Next steps from this result
Suggested from the inputs DeepFace takes- Found a resultConfirm it with a second, independent source before you record itPassive
- Found a new identifierPivot on it only if your scope covers the new targetDepends
Quick start
pip install deepface
Technical details
Listing verified by an editor on Nov 26, 2026- API
- No public API
- Account
- Not needed
- Footprint
- Passive · no contact with target
- Pricing
- Free, open source
- Platforms
- Python library
- Repository
- serengil/deepface 23,739 stars
- Language
- Python
- Licence
- MIT
- Last commit
- Nov 2026
- Listed
- Nov 26
Reviews
No reviews yet
Written by signed-in members. Each review appears here after an editor has read it.
Used DeepFace? Sign in to say what you used it for and how it went.
Sign in to reviewAlternatives to DeepFace
Listed tools that take the same inputs, closest match first.
- CopyfishOpen source · PassiveWhat it does
Open-source browser extension that OCRs and translates text from any part of the screen, including images, videos and PDFs.
ImageNo ratings yetVerified yesterday - CrowdCounterFree · PassiveWhat it does
Browser tool by Henk van Ess that estimates how many people are in a photo using the Jacobs area-times-density method.
ImageNo ratings yetVerified 2d ago - DepixOpen source · PassiveWhat it does
Proof-of-concept tool that recovers text from pixelated screenshots by matching blocks against a reference image.
ImageNo ratings yetVerified 2d ago