Skip to content
OSINTtools.io

DeepFace

Verified 2d ago

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
Summary

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.

Pros
  • +Very widely used and actively maintained
  • +Runs locally on your own data
  • +Simple Python interface
  • +Free and open source (MIT)
Cons
  • −Requires Python coding
  • −Face matches are probabilistic and can mislead
  • −Attribute estimates such as race and emotion are unreliable

When to use it

  1. 01Use it when you need to test whether two photos likely show the same person.
  2. 02Use it when you want to find every image of one face in a large local collection.
Key featuresFace verification between two imagesFace search across a folder or databaseAge, gender and emotion estimationMultiple recognition and detection modelsReal-time video stream modeLocal REST API option

Next steps from this result

Suggested from the inputs DeepFace takes
  • Found a resultConfirm it with a second, independent source before you record it
  • Found a new identifierPivot on it only if your scope covers the new target
    Depends

Quick start

Install with pip
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 review

Alternatives to DeepFace

Listed tools that take the same inputs, closest match first.

DeepFaceOpen source · verified 2d ago
Visit github.com (opens in new tab)