$npx skillfedfor your agent

dlib

A toolkit for making real world machine learning and data analysis applications

With conditionsPyPI Software DevelopmentReleased Mar 2026198.0K downloads / moBoost Software LicenseSource build

Decision gist · record as of 2026-08-14

sdist only — dlib-20.0.1.tar.gz · builds from source
v20.0.1 · released 2026-03-29

Yes, with conditions. dlib is worth installing if you need robust machine learning or computer vision capabilities and can tolerate the compilation overhead during setup. The library is actively maintained, has no known security vulnerabilities, and carries a permissive license. However, ensure your development environment has a working C++ compiler and CMake before attempting installation.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires a C++ compiler and CMake to build from source; compilation may take several minutes depending on system resources.
  • Installation requires compilation from source (high friction).
  • The package is actively maintained with a recent release and strong community adoption, but build dependencies and platform-specific compilation steps may complicate setup on some systems.

License · maintenance · safety

Boost Software License (unclear) — Licensed under Boost Software License, which permits use in both open-source and closed-source commercial software with minimal restrictions. License treatment is marked unclear in the metadata, so review the actual license terms before relying on this classification.

last release 2026-03-29 (138 days) · last repo commit 2026-08-11 · 14,433 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 198,043 downloads/mo, #9,742 on PyPI

Verify before relying

pip install dlib

import dlib
detector = dlib.get_frontal_face_detector()
  • Exact Python version support range (requires_python is unspecified in metadata)
  • Whether pre-built wheels are available for all major platforms or if compilation is always required
  • Availability and performance impact of optional AVX instruction support mentioned in documentation
  • Whether face detection and landmark extraction are available in the Python API or C++-only features
Same gist for agents: .md · .json

What it is and what it does

dlib is a production-grade C++ toolkit for machine learning and computer vision that exposes its core algorithms through Python bindings. It provides building blocks for classification, regression, and image processing tasks. The package is designed for real-world applications and has been actively maintained since its early releases.

The main trade-off is installation friction: dlib compiles from source on most systems, requiring a C++ compiler and build tools. Once installed, it offers no runtime dependencies, making it lightweight for deployment. It's widely used in production systems and has strong community adoption.

Use it for

  • Build machine learning classifiers on image or tabular data using dlib's algorithms.
  • Perform image processing tasks like resizing, filtering, and feature extraction for computer vision workflows.
  • Create real-time video analysis applications that require efficient C++ performance with Python ease-of-use.
  • Develop data analysis applications combining machine learning with computer vision capabilities.
  • Integrate machine learning models into C++ applications through the toolkit's native interface.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, with conditions.

dlib is worth installing if you need robust machine learning or computer vision capabilities and can tolerate the compilation overhead during setup. The library is actively maintained, has no known security vulnerabilities, and carries a permissive license. However, ensure your development environment has a working C++ compiler and CMake before attempting installation.

Install

dlib on PyPI

Before you install

Installation requires compilation from source (high friction). The package is actively maintained with a recent release and strong community adoption, but build dependencies and platform-specific compilation steps may complicate setup on some systems.

Requires a C++ compiler and CMake to build from source; compilation may take several minutes depending on system resources.

License in practice

Licensed under Boost Software License, which permits use in both open-source and closed-source commercial software with minimal restrictions. License treatment is marked unclear in the metadata, so review the actual license terms before relying on this classification.

Quickstart

pip install dlib

import dlib
detector = dlib.get_frontal_face_detector()

Verify before relying

  • Exact Python version support range (requires_python is unspecified in metadata)
  • Whether pre-built wheels are available for all major platforms or if compilation is always required
  • Availability and performance impact of optional AVX instruction support mentioned in documentation
  • Whether face detection and landmark extraction are available in the Python API or C++-only features

Package facts

LicenseBoost Software License unclear
Python supportNot specified
Install frictionHigh. Source build required
Runtime dependenciesNone
MaintenanceActively maintained 138 days since the last release
Last repo commit
First released
Downloads198,043 / month, #9,742 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersIntended Audience :: Science/ResearchOperating System :: MacOS :: MacOS XOperating System :: MicrosoftOperating System :: Microsoft :: WindowsOperating System :: POSIXOperating System :: POSIX :: LinuxProgramming Language :: C++Programming Language :: PythonTopic :: Scientific/EngineeringTopic :: Scientific/Engineering :: Artificial IntelligenceTopic :: Scientific/Engineering :: Image RecognitionTopic :: Software Development

Evidence: dlib-20.0.1.tar.gz

Tags

Capabilities
machine learning toolkit pythoncomputer vision libraryimage recognition algorithmsc++ machine learning bindingsface detection librarydata analysis toolkitdeep learning c++
Topics
computer-visionmachine-learningcpp-bindings
PyPI keywords
dlibComputer VisionMachine Learning

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “machine learning toolkit python”

  • dlibdlib is a C++ machine learning and computer vision toolkit with…
  • dlib-bindlib-bin provides pre-compiled binary wheels of dlib, a machine…
  • nvidia-cuda-nvrtc-cu12Provides NVIDIA CUDA NVRTC native runtime libraries for compiling…

Give your agent the search over MCP, or paste the wish link into any chat.

More Software Development packages

typing-extensions Worth it
PyPI · Software Development · released Jul 2026

Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.

PSF-2.0pure Python · 3.9+
1.9Bdownloads / mo
numpy Worth it
PyPI · Software Development · released Aug 2026

NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
annotated-doc With conditions
PyPI · Software Development · released Jul 2026

Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.

MITpure Python · 3.9+
456.2Mdownloads / mo
typer Worth it
PyPI · Software Development · released Aug 2026

Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.

Install it if you are building CLIs in Python.

MITpure Python · 3.10+
369.3Mdownloads / mo
distlib With conditions
PyPI · Software Development · released Jun 2026

Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.

permissive licensepure Python
323.3Mdownloads / mo

See also dlib-bin · depthai · face-recognition · dyNET38 · pupil-apriltags · face_recognition_models · lightgbm · opencv-python-headless · paddlex · opencv-contrib-python