← All projects
Developer building blocks

DeepFace

A Python library that recognises faces and estimates age, gender, emotion and race from photos.

What it does

DeepFace is a toolkit for face recognition: checking whether two photos show the same person, or finding a face in a collection. It also analyses facial attributes, giving estimates of age, gender, emotion and race.

It wraps several well-known face-recognition models, such as FaceNet, ArcFace and VGG-Face, and handles the usual steps for you: finding the face, lining it up and comparing it. Programmers can call it with a few lines of code.

Who it's for

Developers and researchers building apps that need to detect or compare faces.

Can I use it without coding?

Developers only. It's a Python library used in code. New to this? Start here.

Can I run it?

Cost
FreeNothing to pay or sign up for.
Computer
An ordinary computer is fine
Privacy
Your choice: run it on your device or use an online service
API key
Not needed

Try it

Using Claude Code, Cursor or another AI coding assistant? Paste the prompt and it will walk you through the setup.New to this?

Before you install

  • Only download from the official GitHub page. Copies with similar names exist for many popular projects.
  • License (MIT): Very permissive: free to use, change and share, including for business.
  • More on staying safe

Where people are talking about it