Lite.Ai.ToolKit is a C++ library bundling many pretrained vision and generative models. It targets ONNXRuntime, MNN, NCNN, TNN, and optional TensorRT with a consistent lite::cv API.
Overview
Lite.Ai.ToolKit packages a large set of computer-vision and related models behind a single C++ interface. Developers call typed classes such as object detectors, segmenters, matting models, face pipelines, and Stable Diffusion or face-fusion examples using shared lite::cv naming.
By default only OpenCV and ONNXRuntime are required; builds can enable MNN, TensorRT, and other backends. The project distributes prebuilt libraries, a model zoo with converted weights, and Docker Hub images to fetch models. Syntax stays consistent across tasks so switching model families is mostly a type name change.
Inference backends are documented for Linux, macOS, Windows, and Android in the supported matrix. TensorRT builds expect recent CUDA and TensorRT versions for GPU paths on Linux.
The toolkit is meant to be linked from CMake projects rather than run as a standalone end-user application.
Key features
- Unified lite::cv class API
- 100+ model implementations and weights
- ONNXRuntime default; optional MNN and TensorRT
- Object detection, segmentation, matting, faces
- Prebuilt library and model zoo downloads
- CMake-friendly integration
- CPU backends: NCNN and TNN support
- Example test binaries per model family
Use cases
- Embed YOLO-style detection in C++ apps
- Run portrait or video matting on device
- Prototype face recognition or alignment pipelines
- GPU inference with TensorRT on Linux
- Ship ONNX models on mobile via MNN or NCNN