qmetrics.net

dlib C++ Library

C++ toolkit for machine learning and numerical code

dlib C++ Library screenshot

A portable C++ library of machine learning, optimization, and image routines, with an optional Python API. It is aimed at production C++ systems across desktop, mobile, and HPC environments.

Overview

dlib collects algorithms and utilities for building applications that need machine learning, computer vision, linear algebra, and related numeric tooling in C++. Documentation and examples cover both native C++ programs and Python-driven workflows installed from PyPI or source.

Machine learning coverage spans conventional and deep models, including support vector methods, structural SVM tools for detection and sequence labeling, clustering, and neural networks. Image processing modules handle common formats and vision pipelines such as face detection and landmark finding.

Beyond learning, the library includes matrix and optimization code, graph and parsing utilities, networking examples such as HTTP servers, and multimedia samples using FFmpeg. It is tested on Windows, Linux, and macOS and runs on POSIX systems without extra packages beyond what the OS provides.

Consumers link dlib from CMake projects or install via vcpkg. Python bindings follow the same feature set for many training and inference examples without requiring a separate runtime service.

Key features

  • Deep learning and classical ML
  • Face detection and recognition
  • Image I/O and processing
  • Linear algebra and optimization
  • Structural SVM tooling
  • Python API binding
  • CMake and vcpkg integration
  • Documented APIs with examples

Use cases

  • C++ perception and robotics stacks
  • Embedded vision prototypes
  • Custom object detectors
  • Face alignment pipelines
  • Research prototypes in Python

Tags

Similar software

TensorFlow

End-to-end machine learning platform and tooling ecosystem

TensorFlow is a machine learning platform with Python and C++ APIs, optional GPU packages, and companion libraries for data, training, deployment, and visualization.

★ 201.8k⟳ todayApache-2.0

Transformers

Shared model definitions for multimodal ML workloads

Transformers is a Python library that defines pretrained text, vision, audio, and multimodal models once in PyTorch for shared inference and training across the ecosystem.

★ 169.4k⟳ todayApache-2.0

RAGFlow

Open-source RAG engine and agent context platform

RAGFlow ingests heterogeneous documents, builds retrievable knowledge, and supports agent workflows with citations. It can run on your own hardware with Docker or a from-source server stack.

★ 94.8k⟳ todayApache-2.0

Headroom

Local LLM context compression library and proxy

Headroom shrinks tool outputs, logs, JSON, and chat history before LLM calls to cut input tokens while preserving retrievable originals. It offers a Python library, proxy, MCP tools, and agent wrappers.

★ 81k⟳ yesterdayApache-2.0

Unsloth

Local desktop workspace to run and fine-tune AI models

Unsloth is a desktop application to chat with, fine-tune, and serve LLMs, diffusion, audio, and embedding models on your own hardware with optional agent integrations.

★ 80.4k⟳ todayApache-2.0

Models

TensorFlow reference models and modeling utilities collection

The TensorFlow Model Garden hosts implementations of models and modeling solutions for TensorFlow, installable via pip as tf-models-official.

★ 77.6k⟳ 11 days agoApache-2.0