AI Potluck
Back to Gap Map Infrastructure / Classic ML & computer vision

dlib

davisking
open source / Overall score: 3.4

C++ toolkit of machine-learning algorithms and supporting tools, with Python bindings, maintained by Davis King. It provides support vector machines, relevance vector machines, kernel methods, structural SVMs, clustering and a deep-learning API, and is best known for its face detection, facial landmark and face recognition models. The trained models are published separately, mostly in the public domain.

Openness

5 high confidence
5.0
license
BSL-1.0(Boost Software License 1.0, OSI-approved
source
public(github.com/davisking/dlib)
core features withheld
no — maintained by its author
model-zoo-terms
public-domain(dlib-models released into the public domain, except shape_predictor_68_face_landmarks, whose ibug 300-W training data excludes commercial use)

dlib is under the Boost Software License 1.0, a short permissive license the OSI approves, and builds from the public repository its author maintains; nothing is sold. Its trained models are published separately and downloaded by hand, mostly in the public domain. The 68-point landmark model is the exception: its training data excludes commercial use. The face-recognition pipeline dlib is credited for uses the public-domain 5-point landmark model and recognition network instead, so the restricted model does not govern. BSL-1.0 is OSI-approved, so the license tier is osi.

Adoption

3 medium confidence
3.0

Measured on monthly PyPI downloads of the dlib package, which ships only as source and compiles on install. The C++ library used directly is not counted.

Capability

4 medium confidence
4.0

dlib is first a general machine-learning toolkit with many learners to choose among, but it also ships a trained face-recognition network that compares faces the user enrolls without any training run, the same capability that places InsightFace here. Outside faces, choosing and training a model for a new task is left to the user.

  • http://dlib.net/ml.html recorded 2026-09-27

    Machine Learning page "Primary Algorithms": Binary Classification (svm_c_trainer, rvm_trainer, svm_pegasos, auto_train_rbf_classifier ...), Multiclass Classification, Regression (krr_trainer, rvm_regression_trainer, random_forest_regression_trainer, svr_trainer ...), Structured Prediction, Clustering (kkmeans, spectral_cluster, chinese_whispers ...), and Deep Learning layers.

  • https://raw.githubusercontent.com/davisking/dlib-models/HEAD/README.md recorded 2026-09-27

    dlib-models README: "dlib_face_recognition_resnet_model_v1.dat.bz2", a network "trained from scratch on a dataset of about 3 million faces", released with the other models "into the public domain".

Verified 2026-09-27