Comparison
dlib vs insightface vs mediapipe vs mtcnn
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
A toolkit for making real world machine learning and data analysis applications
Maintained. Last release 8 months ago, commits in 11 of the last 26 weeks. Weaker on release cadence.
pip install dlibInsightFace Python Library
Maintained. Last release 8 weeks ago, commits in 6 of the last 26 weeks. Weaker on issue handling and contributor spread.
pip install insightfaceMediaPipe is the simplest way for researchers and developers to build world-class ML solutions and applications for mobile, edge, cloud and the web. See the privacy notice at https://goo.gle/mediapipe-privacy.
Actively maintained. Last release 3 weeks ago, commits in 25 of the last 26 weeks. A safe choice.
pip install mediapipeMultitask 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 mtcnnIn short
- mtcnn is slowing down (last release over 2 years ago): fine for existing code, risky for a new project.
- mediapipe is the most used: 3.3M downloads a month, 3.5× more than insightface.
- mediapipe also has the best Pythie’s Index (87).
- mediapipe is growing fastest: downloads +27% over the last month.
- Safe default for a new project: mediapipe.
Side by side
| Metric | dlib | insightface | mediapipe | mtcnn |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 67 | Pythie’s Index: 56 | Pythie’s Index: 87 | Pythie’s Index: 26 |
| Verdict | Maintained | Maintained | Actively maintained | Slowing down |
| Downloads / month | 190.9K | 933.9K | 3.3M | 59.6K |
| Downloads, month over month | +3% | +4% | +27% | -23% |
| GitHub stars | 14.5K | 30.3K | 38K | 2.5K |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 99 | 46 | 336 | 35 |
| Last release | Mar 29, 2026 | Oct 3, 2026 | Nov 11, 2026 | Oct 8, 2024 |
| Releases, 12 months | 1 | 4 | 12 | 0 |
| Weeks with commits | 11 / 26 | 6 / 26 | 25 / 26 | 0 / 26 |
| Recent contributors | 24 | 3 | 7 | 17 |
| First release | Sep 2015 | Aug 2019 | Sep 2023 | Jan 2018 |
| Python versions | – | – | 3.9 – 3.14 | 3.10 – 3.12 |
| License | non-standard | unknown | Apache-2.0 | 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.