# dlib

> A C++ toolkit for machine learning and data analysis applications

Source: https://talira.ai/catalog/dlib-9ta93dn7
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [ai / ml / classical ml](https://talira.ai/categories/ai/ml/classical-ml), [ai / computer vision / libraries](https://talira.ai/categories/ai/computer-vision/libraries)
- Platforms: windows, linux, macos[^2]
- Licence: BSL-1.0[^1]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Backed by: [Davis E. King](https://talira.ai/orgs/davis-king.md)

dlib is a C++ toolkit of machine learning algorithms and tools for building real-world software, with a Python API. It covers deep learning, support vector machines and other classic learners, clustering, numerical optimization, linear algebra, Bayesian network inference and image processing, including face detection, face landmark detection and face recognition, object detection and tracking. It also has portable threading, TCP sockets, a small HTTP server, a thread-safe GUI toolkit, compression, logging and unit testing. It needs no other packages, is tested on Windows, Linux and macOS, documents every class and function, and is Boost Software License 1.0 licensed.

## Links

- Website: https://dlib.net/
- GitHub: https://github.com/davisking/dlib
- Docs: https://dlib.net/

## Problems it solves

- detect faces and facial landmarks in images from Python or C++
- train a small object detector without a big deep learning framework
- machine learning algorithms I can embed in a C++ application with no dependencies

## Features

- deep learning, support vector machines, clustering and other classic learners
- face detection, landmark detection and face recognition
- object detection, shape predictors and video object tracking
- numerical optimization, linear algebra and Bayesian network inference
- Python API, installable with pip install dlib
- portable threading, networking, GUI and utility classes with no dependencies

## Trust

Overall: 0.69 out of 1.
Signals: maintenance 0.94, adoption 0.83, momentum 0.60, community 0.94, backing 0.30, extensibility 0.00.

- last commit 12 days ago
- 51 commits in the last 90 days
- latest release v20.1 15 days ago
- 14.5k GitHub stars
- 219 contributors
- backed by Davis E. King

## Sources

[^1]: https://github.com/davisking/dlib/blob/master/LICENSE.txt (checked 27 Nov 2026)
[^2]: https://dlib.net/ (checked 27 Nov 2026)
