serengil/deepface
A Lightweight Face Recognition and Facial Attribute Analysis (Age, Gender, Emotion and Race) Library for Python
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.
Stars
22,373
Forks
3,046
Language
Python
License
MIT
Category
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.
Compare
Related frameworks
ishandutta0098/mukh
A comprehensive face analysis library that provides unified APIs for various face-related tasks
tomas-gajarsky/facetorch
Python library for analysing faces using PyTorch
cmusatyalab/openface
Face recognition with deep neural networks.
davidsandberg/facenet
Face recognition using Tensorflow
ZhaoJ9014/face.evoLVe
🔥🔥High-Performance Face Recognition Library on PaddlePaddle & PyTorch🔥🔥