serengil/deepface

A Lightweight Face Recognition and Facial Attribute Analysis (Age, Gender, Emotion and Race) Library for Python

Open original source ↗

From the publisher

README & documentation

Source preview

Read the project’s overview, installation instructions and usage examples. The original README is the source of truth.

[](https://pepy.tech/project/deepface) [](https://github.com/serengil/deepface/stargazers) [](https://hub.docker.com/r/serengil/deepface) [](https://github.com/serengil/deepface/blob/master/LICENSE) [](https://doi.org/10.35378/gujs.1794891) [](https://deepface.dev?source=deepfacerepo) DeepFace is a lightweight face recognition and facial attribute analysis (age, gender, emotion and race) framework for python. It is a hybrid face recognition framework wrapping state-of-the-art models: VGG-Face, FaceNet, OpenFace, DeepFace, DeepID, ArcFace, Dlib, SFace, GhostFaceNet, BuffaloL. A modern face recognition pipeline consists of 5 common stages: detect, align, normalize, represent and verify. While DeepFace handles all these common stages in the background, you don’t need to acquire in-depth knowledge about all the processes behind it. You can just call its verification, find or analysis function with a single line of code. Experiments show that human beings have 97.53% accuracy on facial recognition tasks whereas those models already reached and passed that accuracy level. The easiest way to install deepface is to download it from PyPI. It's going to install the library itself and its prerequisites as well. DeepFace is framework agnostic: it…

serengil/deepface on GitHub A short preview, not the full document.

Read the full README ↗ · Preview checked 2026-10-27T07:27:21.128Z

Inside the original README — Document outline
  1. deepface
  2. Installation [](https://pypi.org/project/deepface/)
  3. Extended Applications
  4. Support
  5. Citation
  6. Licence

Headings are captured from the source. Links open the publisher’s document, not a locally hosted copy.

Links from the README

References supplied by the publisher, not independently verified endorsements. Check the destination before downloading files or entering credentials.

Documentation belongs to its respective authors. Reported project/model license: MIT. A listing is not a grant of reuse or training rights. Confirm the document’s own terms at the source.

What this repository does

A Lightweight Face Recognition and Facial Attribute Analysis (Age, Gender, Emotion and Race) Library for Python

Repository facts

Owner
serengil
Primary language
Python
Stars
23,626
Forks
3,201
Open issues + pull requests
1
License
MIT
Archived
No
Default branch
master
Created
2020-02-08T20:42:28.000Z
Last push
2026-10-31T17:31:40.000Z

Topics and intended use

Owner-supplied topics: age-prediction, arcface, deep-learning, deepface, deepid, emotion-recognition, face-analysis, face-recognition, facenet, facial-expression-recognition, facial-recognition, gender-prediction, machine-learning, openface, python, race-classification, vgg-face

Review the README for scope, installation, examples and limitations. We do not run repository code or certify it.

Evaluate before installing

Review licensing and dependencies, inspect recent commits and unresolved issues, and test in an isolated environment before production use. Stars and forks alone cannot answer these questions.

README and project files

Issues and maintenance discussion

Releases and changelog

Source and freshness

Source: GitHub. Metadata observed 2026-11-01T12:19:42.808Z. Daily imports are snapshots, not real-time monitoring.

Popularity and source listings do not establish security, suitability, licensing rights or benchmark performance.

Open original source

Related repositories

public-apis/public-apis

EbookFoundation/free-programming-books

donnemartin/system-design-primer

vinta/awesome-python

practical-tutorials/project-based-learning

NousResearch/hermes-agent