#4646th of 56 in ML frameworks and libraries

dlib

C++ machine learning toolkit with Python bindings

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
Also in ML frameworks and libraries
RankProjectScore
1transformersPython library defining open models for text, vision, audio and multimodal tasks167.7k starsApache-2.095 out of 100
2pytorchPython tensor library with GPU support and tape-based autograd for deep learning104.7k starscustom license94 out of 100
3ultralyticsPython library and CLI for training and running YOLO vision models62.5k starsAGPL-3.092 out of 100
#4supervisionPython toolkit for loading, annotating and counting computer vision detections Live demo ↗ (opens in a new tab)51.2k starsMIT89 out of 100
#5pytorch-image-modelsPyTorch library of image models, pretrained weights and reference training scripts37.2k starsApache-2.089 out of 100