Comparison
facenet-pytorch vs facexlib vs mtcnn vs retina-face
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Pretrained Pytorch face detection and recognition models
Slowing down. Last release over 2 years ago, little activity since. Fine for existing code; think twice for a new project.
pip install facenet-pytorchBasic face library
Slowing down. Last release over 3 years ago, little activity since. Fine for existing code; think twice for a new project.
pip install facexlibMultitask Cascaded Convolutional Networks for face detection and alignment (MTCNN) in Python >= 3.10 and TensorFlow >= 2.12
Slowing down. Last release over 2 years ago, little activity since. Fine for existing code; think twice for a new project.
pip install mtcnnRetinaFace: Deep Face Detection Framework in TensorFlow, PyTorch and ONNX for Python
Maintained. Last release 8 weeks ago, commits in 3 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install retina-faceIn short
- facenet-pytorch is slowing down (last release over 2 years ago): fine for existing code, risky for a new project.
- facexlib is slowing down (last release over 3 years ago): fine for existing code, risky for a new project.
- mtcnn is slowing down (last release over 2 years ago): fine for existing code, risky for a new project.
- retina-face is the most used: 79.1K downloads a month.
- retina-face also has the best Pythie’s Index (54).
Side by side
| Metric | facenet-pytorch | facexlib | mtcnn | retina-face |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 17 | Pythie’s Index: 16 | Pythie’s Index: 26 | Pythie’s Index: 54 |
| Verdict | Slowing down | Slowing down | Slowing down | Maintained |
| Downloads / month | 134.5K | 566.3K | 59.6K | 79.1K |
| Downloads, month over month | +6% | -25% | -23% | -5% |
| GitHub stars | 5.2K | 984 | 2.5K | 2.1K |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 22 | 15 | 35 | 8 |
| Last release | Apr 29, 2024 | Apr 15, 2023 | Oct 8, 2024 | Oct 9, 2026 |
| Releases, 12 months | 0 | 0 | 0 | 2 |
| Weeks with commits | 0 / 26 | 0 / 26 | 0 / 26 | 3 / 26 |
| Recent contributors | 15 | 8 | 17 | 8 |
| First release | Jul 2019 | May 2021 | Jan 2018 | Apr 2021 |
| Python versions | – | 3.7 – 3.8 | 3.10 – 3.12 | – |
| License | MIT | Apache-2.0 | MIT | MIT |
| Known vulnerabilities | None | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.