#4646th of 56 in ML frameworks and libraries
dlib
C++ machine learning toolkit with Python bindings
Documentation ↗
(opens in a new tab)Website ↗
(opens in a new tab)Repository on GitHub ↗
(opens in a new tab)
- Stars
- 14.5k
- License
- BSL-1.0
- Last commit
- Oct 2026
- Last release
- Mar 2026
- Language
- C++
Missed the latest GitHub check; these facts may be older.
Overview
Dlib is a C++17 library of machine learning algorithms and general-purpose tools for building software in C++. It is built with CMake, can be installed through vcpkg, and has a Python API available with pip install dlib. The README points to dlib.net for the API reference and does not list individual algorithms or models.
Who it is for: C++ and Python developers embedding machine learning in applications
Strengths
- Boost Software License permits use in closed-source commercial software
- Installs via CMake, vcpkg, or pip for the Python API
- Ships a unit test suite (dtest) and many example programs
- Optional AVX build flag speeds up some operations
Weaknesses
- Requires a C++17 compiler and CMake to build from source
- README does not list algorithms, models, or GPU support
- pip install from source needs a local compiler toolchain
- Not a server or UI; used only as a library
What it needs
- Needs C++17 compiler, CMake
Also in ML frameworks and libraries
See all 56| Rank | Project | Score |
|---|---|---|
| 1 | transformersPython library defining open models for text, vision, audio and multimodal tasks | 95 out of 100 |
| 2 | pytorchPython tensor library with GPU support and tape-based autograd for deep learning | 94 out of 100 |
| 3 | ultralyticsPython library and CLI for training and running YOLO vision models | 92 out of 100 |
| #4 | supervisionPython toolkit for loading, annotating and counting computer vision detections | 89 out of 100 |
| #5 | pytorch-image-modelsPyTorch library of image models, pretrained weights and reference training scripts | 89 out of 100 |