#282282nd of 433 in ML frameworks and libraries
face_recognition
Python library and CLI for face detection, landmarks and matching, built on dlib
Run it:Vast.ai ↗ (opens in a new tab)Clore.ai ↗ (opens in a new tab)Affiliate links, no effect on a rank.
Watch puts face_recognition on your watch list: its new releases and known problems since your last visit. Kept in this browser, no account.face_recognition is on your watch list. Its new releases and problems show there.
- Stars
- 56.9k
- License
- MIT
- Last commit
- Jun 2026
- Last release
- Apr 2018
- Language
- Python
55,767 on 24 Mar 202656,920 on 24 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
- Show HN: A simple python API for doing face recognition in 5 lines of code (opens in a new tab) (11 points, Mar 2017)
Overview
Python library built on dlib that finds faces in images, returns landmarks for eyes, nose, mouth and chin, and compares face encodings to identify people. It also installs `face_recognition` and `face_detection` CLI tools that process folders of images, with a `--tolerance` setting (default 0.6) and `--cpus` for parallel runs. The README cites 99.38% accuracy on Labeled Faces in the Wild.
Who it is for: Python developers adding face detection or matching to scripts and apps
Strengths
- Few-line Python API: face_locations, face_landmarks, face_encodings, compare_faces
- CLI tools identify faces across image folders, with --cpus for multi-core runs
- Many runnable examples: webcam, video file, Raspberry Pi, Flask service, KNN and SVM
- Optional CNN detector with GPU batch support when dlib is built with CUDA
Weaknesses
- Last release is 2018-04-02, so PyPI lags the repository
- Requires building dlib with cmake; Windows is not officially supported
- README says accuracy is weaker on children and varies between ethnic groups
- CNN detection model needs a GPU for good performance
What it needs
- GPU optional
- Docker + Compose
- Needs dlib, cmake, Python 3.3+ or 2.7, OpenCV (webcam/video examples), Flask (web service example)
- Models: dlib HOG face detector, dlib CNN face detector, dlib ResNet face encodings
What changed
From the release notes. No flag means the note does not say so, not that the upgrade is safe. Releases and problems by RSS
Also in ML frameworks and libraries
See all 433| Rank | Project | Score |
|---|---|---|
| #280 | gin-configPython config library using decorators and .gin files for dependency injection | 46 out of 100 |
| #281 | neuromancerPyTorch library for differentiable optimization, system identification and control | 46 out of 100 |
| #283 | openmythosPyTorch looped-depth MoE transformer with switchable MLA or GQA attention | 45 out of 100 |
| #284 | auglyPython library of audio, image, text and video data augmentations | 45 out of 100 |
| #285 | acmeReinforcement learning library with reference agents in JAX and TensorFlow | 45 out of 100 |