#4646th of 433 in ML frameworks and libraries

dlib

C++ machine learning toolkit with Python bindings

Stars
14.5k
License
BSL-1.0
Last commit
Nov 2026
Last release
Nov 2026
Language
C++
Stars, last 35 weeks+220
25 Mar 2026: 14,262 stars1 Apr 2026: 14,266 stars8 Apr 2026: 14,272 stars15 Apr 2026: 14,277 stars22 Apr 2026: 14,285 stars29 Apr 2026: 14,291 stars6 May 2026: 14,300 stars13 May 2026: 14,307 stars20 May 2026: 14,311 stars27 May 2026: 14,319 stars3 Jun 2026: 14,327 stars10 Jun 2026: 14,333 stars17 Jun 2026: 14,341 stars24 Jun 2026: 14,349 stars1 Jul 2026: 14,357 stars8 Jul 2026: 14,366 stars15 Jul 2026: 14,371 stars22 Jul 2026: 14,379 stars29 Jul 2026: 14,386 stars5 Aug 2026: 14,390 stars12 Aug 2026: 14,395 stars19 Aug 2026: 14,397 stars26 Aug 2026: 14,399 stars2 Sept 2026: 14,405 stars9 Sept 2026: 14,409 stars16 Sept 2026: 14,419 stars23 Sept 2026: 14,423 stars30 Sept 2026: 14,430 stars7 Oct 2026: 14,437 stars14 Oct 2026: 14,449 stars21 Oct 2026: 14,453 stars28 Oct 2026: 14,457 stars4 Nov 2026: 14,462 stars11 Nov 2026: 14,472 stars18 Nov 2026: 14,479 stars25 Nov 2026: 14,482 stars

14,262 on 25 Mar 202614,482 on 25 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

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
  • 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

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
Also in ML frameworks and libraries
RankProjectScore
#44nltkPython library of classic NLP modules, corpora and tutorials14.8k starsApache-2.081 out of 100
#45carlaAutonomous driving simulator on Unreal Engine with Python API and sensor suites14.7k starsMIT81 out of 100
#47monaiPyTorch framework for deep learning on medical imaging data Live demo ↗ (opens in a new tab)8.9k starsApache-2.081 out of 100
#48flashinferCUDA kernel library for LLM attention, GEMM, MoE and sampling7k stars+216 (+3.2%) in 30 daysApache-2.081 out of 100
#49tvmPython-first machine learning compiler for optimizing and deploying models13.9k starsApache-2.080 out of 100