xlite-dev/lite.ai.toolkit
A lite C++ AI toolkit: 100+ models with MNN, ORT and TRT, including Det, Seg, Stable-Diffusion, Face-Fusion.
What it solves
This toolkit provides a streamlined, consistent C++ interface for running over 100 different AI models. It removes the complexity of manually setting up various inference engines, allowing developers to quickly implement tasks like object detection, face recognition, and image segmentation without writing boilerplate code for each model.
How it works
It acts as a lightweight wrapper around popular inference backends like ONNXRuntime, MNN, NCNN, TNN, and TensorRT. You use a consistent syntax (e.g., lite::cv::Type::Class) to load a model and process images. It requires minimal dependencies—primarily just OpenCV and your chosen inference engine—and can be integrated into your project via CMake.
Who it’s for
It is designed for C++ developers who need to deploy computer vision models efficiently on Linux, whether they are working on research prototypes or production applications that require high-performance inference on CPUs or NVIDIA GPUs.
Highlights
- Supports 300+ C++ model implementations and 500+ pre-trained weights.
- Consistent, user-friendly API syntax across all supported models.
- Minimal dependency footprint, requiring only OpenCV and the chosen inference engine by default.
- High-performance options including TensorRT support for NVIDIA GPU acceleration.
- Flexible integration, allowing you to mix the toolkit with native MNN or ONNXRuntime code.
Related
- Project
- Project
- Project
- Project
- Project