serengil/deepface

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

78
/ 100
Verified

Built on a modular pipeline architecture, DeepFace wraps multiple state-of-the-art face recognition models (VGG-Face, FaceNet, ArcFace, Dlib, etc.) to handle detection, alignment, normalization, representation, and verification in a unified API. Beyond pairwise verification, it supports large-scale face recognition through both directory-based and database-backed search with approximate nearest neighbor indexing across PostgreSQL, MongoDB, Neo4j, Pinecone, and Weaviate backends. The library achieves >97% accuracy on facial recognition benchmarks while abstracting away the underlying deep learning complexity.

22,373 stars and 878,086 monthly downloads. Used by 1 other package. Available on PyPI.

Maintenance 10 / 25
Adoption 21 / 25
Maturity 25 / 25
Community 22 / 25

How are scores calculated?

Stars

22,373

Forks

3,046

Language

Python

License

MIT

Last pushed

Mar 01, 2026

Monthly downloads

878,086

Commits (30d)

0

Dependencies

18

Reverse dependents

1

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/ml-frameworks/serengil/deepface"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.