jamjamjon/usls

A Rust library integrated with ONNXRuntime, providing a collection of Computer Vison and Vision-Language models such as YOLO, FastVLM, and more.

Rust

443

185 commits

updated Jul 30, 2026

See the code

README

usls

Rust CI Crates.io Version ONNXRuntime MSRV Rust MSRV


usls is a cross-platform Rust library powered by ONNX Runtime for efficient inference of SOTA vision and vision-language models (typically under 1B parameters).

(Generated by Seedream4.5)

🌟 Highlights

  • ⚑ High Performance: Multi-threading, SIMD, and CUDA-accelerated processing
  • ✨ Cross-Platform: Linux, macOS, Windows with ONNX Runtime execution providers (CUDA, TensorRT, CoreML, OpenVINO, DirectML, etc.)
  • 🎯 Precision Support: FP32, FP16, INT8, UINT8, Q4, Q4F16, BNB4, and more
  • πŸ› οΈ Full-Stack Suite: DataLoader, Annotator, and Viewer for complete workflows
  • πŸ—οΈ Unified API: Single Model trait inference with run()/forward()/encode_images()/encode_texts() and unified Y output
  • πŸ“₯ Auto-Management: Automatic model download (HuggingFace/GitHub), caching and path resolution
  • πŸ“¦ Multiple Inputs: Image, directory, video, webcam, stream and combinations
  • 🌱 Model Ecosystem: 50+ SOTA vision and VLM models

πŸš€ Quick Start

Run the YOLO-Series demo to explore models with different tasks, precision and execution providers:

  • Tasks: detect, segment, pose, classify, obb
  • Versions: v5, v6, v7, v8, v9, v10, 11, 12, v13, 26
  • Scales: n, s, m, l, x
  • Precision: fp32, fp16, q8, int8, q4, q4f16, bnb4, and more
  • Execution Providers: CPU, CUDA, TensorRT, TensorRT-RTX, CoreML, OpenVINO, and more
CPU
cargo run -r --example yolo -- --task detect --ver 26 --scale n --dtype fp16
Nvidia CUDA + CUDA Image Processor
cargo run -r -F cuda --example yolo -- --task segment --ver 11 --scale m --device cuda:0 --processor-device cuda:0
Nvidia TensorRT + CUDA Image Processor
cargo run -r -F tensorrt-full --example yolo -- --device tensorrt:0 --processor-device cuda:0
Nvidia TensorRT-RTX + CUDA Image Processor
cargo run -r -F nvrtx-full --example yolo -- --device nvrtx:0 --processor-device cuda:0
Apple Silicon CoreML
cargo run -r -F coreml --example yolo -- --device coreml
Intel OpenVINO (CPU/GPU/VPU)
cargo run -r -F openvino -F ort-load-dynamic --example yolo -- --device openvino:CPU
πŸ“Š Performance Benchmarks

Environment: NVIDIA RTX 3060Ti (TensorRT-10.11.0.33, CUDA 12.8, TensorRT-RTX-1.3.0.35) / Intel i5-12400F

Setup: YOLO26 Detection, COCO2017-val (5,000 images), 640x640, Conf thresholds: [0.35, 0.3, ..]

Results are for rough reference only.

ScaleEPImage
Processor
DTypeBatchPreprocessInferencePostprocessTotal
nTensorRTCUDAFP161~233Β΅s~1.3ms~14Β΅s~1.55ms
nTensorRT-RTXCUDAFP321~233Β΅s~2.0ms~10Β΅s~2.24ms
nTensorRT-RTXCUDAFP161❓❓❓❓
nCUDACUDAFP321~233Β΅s~5.0ms~17Β΅s~5.25ms
nCUDACUDAFP161~233Β΅s~3.6ms~17Β΅s~3.85ms
nCUDACPUFP321~800Β΅s~6.5ms~14Β΅s~7.31ms
nCUDACPUFP161~800Β΅s~5.0ms~14Β΅s~5.81ms
nCPUCPUFP321~970Β΅s~20.5ms~14Β΅s~21.48ms
nCPUCPUFP161~970Β΅s~25.0ms~14Β΅s~25.98ms
nTensorRTCUDAFP168~1.2ms~6.0ms~55Β΅s~7.26ms
nTensorRTCPUFP168~18.0ms~25.5ms~55Β΅s~43.56ms
mTensorRTCUDAFP161~233Β΅s~3.6ms~14Β΅s~3.85ms
mTensorRTCUDAInt81~233Β΅s~2.6ms~14Β΅s~2.84ms
mCUDACUDAFP321~233Β΅s~16.1ms~17Β΅s~16.35ms
mCUDACUDAFP161~233Β΅s~8.8ms~17Β΅s~9.05ms

πŸ” What's Next?

πŸ“¦ Model Zoo

[!NOTE]

Status:β€‚βœ… Supported  |  ❓ Unknown  |β€‚β€‚βŒ Not Supported For Now

πŸ” All ONNX models are available from the ONNX Models Repository

πŸ”₯ YOLO-Series
ModelTask / DescriptionDemoDynamic BatchTensorRTFP32FP16Q8Q4f16BNB4
YOLOv5Image Classification
Object Detection
Instance Segmentation
demoβœ…βœ…βœ…βœ…βœ…βŒβŒ
YOLOv6Object Detectiondemoβœ…βœ…βœ…βœ…βœ…βŒβŒ
YOLOv7Object Detectiondemoβœ…βœ…βœ…βœ…βœ…βŒβŒ
YOLOv8Object Detection
Instance Segmentation
Image Classification
Oriented Object Detection
Keypoint Detection
demoβœ…βœ…βœ…βœ…βœ…βŒβŒ
YOLO11Object Detection
Instance Segmentation
Image Classification
Oriented Object Detection
Keypoint Detection
demoβœ…βœ…βœ…βœ…βœ…βŒβŒ
YOLOv9Object Detectiondemoβœ…βœ…βœ…βœ…βœ…βŒβŒ
YOLOv10Object Detectiondemoβœ…βœ…βœ…βœ…βœ…βŒβŒ
YOLOv12Image Classification
Object Detection
Instance Segmentation
demoβœ…βœ…βœ…βœ…βœ…βœ…βœ…
YOLOv13Object Detectiondemoβœ…βœ…βœ…βœ…βœ…βœ…βœ…
YOLO26Object Detection
Instance Segmentation
Image Classification
Oriented Object Detection
Keypoint Detection
demoβœ…βœ…βœ…βœ…βœ…βœ…βœ…
🏷️ Image Classification & Tagging
ModelTask / DescriptionDemoDynamic BatchTensorRTFP32FP16Q8Q4f16BNB4
BEiTImage Classificationdemoβœ…βœ…βœ…βœ…βŒβŒβŒ
ConvNeXtImage Classificationdemoβœ…βœ…βœ…βœ…βŒβŒβŒ
FastViTImage Classificationdemoβœ…βœ…βœ…βœ…βŒβŒβŒ
MobileOneImage Classificationdemoβœ…βœ…βœ…βœ…βŒβŒβŒ
DeiTImage Classificationdemoβœ…βœ…βœ…βœ…βŒβŒβŒ
RAMImage Taggingdemoβœ…β“βœ…βœ…βœ…βœ…βœ…
RAM++Image Taggingdemoβœ…β“βœ…βœ…βœ…βœ…βœ…
🎯 Object Detection
ModelTask / DescriptionDemoDynamic BatchTensorRTFP32FP16Q8Q4f16BNB4
RT-DETRv1Object Detectiondemoβœ…βœ…βœ…βœ…βœ…βœ…βœ…
RT-DETRv2Object Detectiondemoβœ…βœ…βœ…βœ…βœ…βœ…βœ…
RT-DETRv4Object Detectiondemoβœ…βœ…βœ…βœ…βœ…βœ…βœ…
RF-DETRObject Detectiondemoβœ…βœ…βœ…βœ…βœ…βœ…βœ…
PP-PicoDetObject DetectiondemoβŒβ“βœ…βŒβŒβŒβŒ
D-FINEObject Detectiondemoβœ…β“βœ…βŒβŒβŒβŒ
DEIMObject Detectiondemoβœ…β“βœ…βŒβŒβŒβŒ
DEIMv2Object Detectiondemoβœ…β“βœ…βœ…βœ…βœ…βœ…
🎨 Image Segmentation
ModelTask / DescriptionDemoDynamic BatchTensorRTFP32FP16Q8Q4f16BNB4
SAMSegment Anythingdemoβœ…β“βœ…βŒβŒβŒβŒ
SAM-HQSegment Anythingdemoβœ…β“βœ…βŒβŒβŒβŒ
MobileSAMSegment Anythingdemoβœ…β“βœ…βŒβŒβŒβŒ
EdgeSAMSegment Anythingdemoβœ…β“βœ…βŒβŒβŒβŒ
YOLOE-v8/11-Prompt-FreeOpen-Set Detection And Segmentationdemoβœ…βœ…βœ…βœ…βœ…βœ…βœ…
YOLOE-26-Prompt-FreeOpen-Set Detection And Segmentationdemoβœ…βœ…βœ…βœ…βœ…βœ…βœ…
FastSAMInstance Segmentationdemoβœ…βœ…βœ…βœ…βœ…βœ…βœ…
EdgeCrafter (ECDetSeg)Instance Segmentationdemoβ“βœ…βœ…βœ…βŒβŒβŒ
SAM2Segment Anythingdemoβœ…β“βœ…βŒβŒβŒβŒ
SAM3-TrackerSegment Anythingdemoβœ…βœ…βœ…βœ…βœ…βœ…βœ…
BiRefNet - CODCamouflaged Object Detectiondemoβœ…β“βœ…βœ…βœ…βœ…βœ…
BiRefNet - DISDichotomous Image Segmentationdemoβœ…β“βœ…βœ…βœ…βœ…βœ…
BiRefNet - HRSODHigh-Resolution Salient Object Detectiondemoβœ…β“βœ…βœ…βœ…βœ…βœ…
BiRefNet - MassiveMulti-Dataset Robust Segmentationdemoβœ…β“βœ…βœ…βœ…βœ…βœ…
✨ Background Removal
ModelTask / DescriptionDemoDynamic BatchTensorRTFP32FP16Q8Q4f16BNB4
RMBGImage Segmentation
Background Removal
demoβœ…β“βœ…βœ…βœ…βœ…βœ…
BEN2Image Segmentation
Background Removal
demoβœ…β“βœ…βœ…βŒβŒβŒ
πŸ‘€ Gaze Estimation
ModelTask / DescriptionDemoDynamic BatchTensorRTFP32FP16Q8Q4f16BNB4
MobileGazeEye Gaze Estimationdemoβœ…β“βœ…βœ…βœ…βœ…βœ…
βœ‚οΈ Image Matting & Portrait Segmentation
ModelTask / DescriptionDemoDynamic BatchTensorRTFP32FP16Q8Q4f16BNB4
MODNetImage Mattingdemoβœ…β“βœ…βœ…βœ…βŒβŒ
MediaPipe SelfieImage Segmentationdemoβœ…β“βœ…βœ…βœ…βŒβŒ
BiRefNet - PortraitPortrait Background Removaldemoβœ…β“βœ…βœ…βœ…βœ…βœ…
BiRefNet - MattingPortrait Matting & Background Removaldemoβœ…β“βœ…βœ…βœ…βœ…βœ…
BiRefNet - HR MattingHigh-Resolution Portrait Mattingdemoβœ…β“βœ…βœ…βœ…βœ…βœ…
BiRefNet - GeneralGeneral Purpose Segmentationdemoβœ…β“βœ…βœ…βœ…βœ…βœ…
BiRefNet - HR GeneralHigh-Resolution General Segmentationdemoβœ…β“βœ…βœ…βœ…βœ…βœ…
BiRefNet - Lite GeneralLightweight General Segmentation (2K)demoβœ…β“βœ…βœ…βœ…βœ…βœ…
BiRefNet - General TinyLightweight General Segmentation with Swin-V1-Tinydemoβœ…β“βœ…βœ…βœ…βœ…βœ…
πŸ—ΊοΈ Open-Set Detection & Segmentation
ModelTask / DescriptionDemoDynamic BatchTensorRTFP32FP16Q8Q4f16BNB4
GroundingDINOOpen-Set Detection With Languagedemoβœ…β“βœ…βœ…βœ…βœ…βœ…
MM-GDINOOpen-Set Detection With Languagedemoβœ…β“βœ…βœ…βœ…βœ…βœ…
LLMDetOpen-Set Detection With Languagedemoβœ…β“βœ…βœ…βœ…βœ…βœ…
OWLv2Open-Set Object Detectiondemoβœ…β“βœ…βœ…βŒβŒβŒ
YOLO-WorldOpen-Set Detection With Languagedemoβœ…βœ…βœ…βœ…βœ…βœ…βœ…
YOLOE-Prompt-BasedOpen-Set Detection And Segmentationdemoβœ…βœ…βœ…βœ…βœ…βœ…βœ…
YOLOE-26-Prompt-BasedOpen-Set Detection And Segmentationdemoβœ…βœ…βœ…βœ…βœ…βœ…βœ…
SAM3-ImageOpen-Set Detection And Segmentationdemoβœ…βœ…βœ…βœ…βœ…βœ…βœ…
πŸƒ Multi-Object Tracking
ModelTask / DescriptionDemoDynamic BatchTensorRTFP32FP16Q8Q4f16BNB4
ByteTrackMulti-Object Trackingdemo❌❌❌❌❌❌❌
πŸ’Ž Image Super-Resolution
ModelTask / DescriptionDemoDynamic BatchTensorRTFP32FP16Q8Q4f16BNB4
Swin2SRImage Restorationdemoβœ…β“βœ…βœ…βœ…βœ…βœ…
APISRAnime Super-Resolutiondemoβœ…β“βœ…βœ…βœ…βœ…βœ…
🀸 Pose Estimation
ModelTask / DescriptionDemoDynamic BatchTensorRTFP32FP16Q8Q4f16BNB4
RTMPoseKeypoint Detectiondemoβœ…β“βœ…βœ…βœ…βœ…βœ…
DWPoseKeypoint Detectiondemoβœ…β“βœ…βœ…βœ…βœ…βœ…
RTMWKeypoint Detectiondemoβœ…β“βœ…βœ…βœ…βœ…βœ…
RTMOKeypoint Detectiondemoβœ…β“βœ…βœ…βœ…βœ…βŒ
ECPoseKeypoint Detectiondemoβœ…β“βœ…βœ…βŒβŒβŒ
πŸ” OCR & Document Understanding
ModelTask / DescriptionDemoDynamic BatchTensorRTFP32FP16Q8Q4f16BNB4
DB (PaddleOCR det v4 / v5)Text Detectiondemoβœ…β“βœ…βœ…βŒβŒβŒ
FASTText Detectiondemoβœ…β“βœ…βœ…βŒβŒβŒ
LinkNetText Detectiondemoβœ…β“βœ…βœ…βŒβŒβŒ
SVTR (PaddleOCR rec v4 / v5)Text Recognitiondemoβœ…β“βœ…βœ…βŒβŒβŒ
TrOCRText Recognitiondemoβœ…β“βœ…βœ…βŒβŒβŒ
SLANet (PaddleOCR tab v4 / v5)Table Recognitiondemoβœ…β“βœ…βœ…βŒβŒβŒ
DocLayout-YOLOObject Detectiondemoβœ…β“βœ…βœ…βœ…βŒβŒ
PP-DocLayout-v1-Plus-LObject Detectiondemoβœ…βœ…βœ…βœ…βœ…βŒβŒ
PP-DocLayout-v2Object Detectiondemoβœ…β“βœ…βœ…βœ…βœ…βœ…
PP-DocLayout-v3Object Detectiondemoβœ…βœ…βœ…βœ…βœ…βœ…βœ…
🧩 Vision-Language Models (VLM)
ModelTask / DescriptionDemoDynamic BatchTensorRTFP32FP16Q8Q4f16BNB4
BLIPImage Captioningdemoβœ…β“βœ…β“βŒβŒβŒ
Florence2A Variety of Vision Tasksdemoβœ…β“βœ…βœ…βŒβŒβŒ
Moondream2Open-Set Object Detection
Open-Set Keypoints Detection
Image Captioning
Visual Question Answering
demoβœ…β“βŒβŒβœ…βœ…βŒ
SmolVLMVisual Question Answeringdemoβœ…β“βœ…β“β“β“β“
SmolVLM2Visual Question Answeringdemoβœ…β“βœ…β“β“β“β“
FastVLMVision Language Modelsdemoβœ…β“βœ…βœ…βœ…βœ…βœ…
🧬 Embedding Model
ModelTask / DescriptionDemoDynamic BatchTensorRTFP32FP16Q8Q4f16BNB4
CLIPVision-Language Embeddingdemoβœ…β“βœ…βœ…βœ…βœ…βœ…
jina-clip-v1Vision-Language Embeddingdemoβœ…β“βœ…βœ…βœ…βœ…βœ…
jina-clip-v2Vision-Language Embeddingdemoβœ…β“βœ…βœ…βœ…βœ…βœ…
mobileclipVision-Language Embeddingdemoβœ…β“βœ…βœ…βœ…βœ…βœ…
SigLIPVision-Language Embeddingdemoβœ…β“βœ…βœ…βœ…βœ…βœ…
SigLIPv2Vision-Language Embeddingdemoβœ…β“βœ…βœ…βœ…βœ…βœ…
DINOv2Vision Embeddingdemoβœ…β“βœ…βŒβŒβŒβŒ
DINOv3Vision Embeddingdemoβœ…β“βœ…βœ…βœ…βœ…βœ…
πŸ“ Depth Estimation
ModelTask / DescriptionDemoDynamic BatchTensorRTFP32FP16Q8Q4f16BNB4
DepthAnything v1Monocular Depth Estimationdemoβœ…β“βœ…βœ…βœ…βœ…βœ…
DepthAnything v2Monocular Depth Estimationdemoβœ…β“βœ…βœ…βœ…βœ…βœ…
DepthProMonocular Depth Estimationdemoβœ…β“βœ…βœ…βœ…βœ…βœ…
Depth-Anything-3Monocular
Metric
Multi-View
demoβœ…β“βœ…βœ…βœ…βœ…βœ…
🌌 Others
ModelTask / DescriptionDemoDynamic BatchTensorRTFP32FP16Q8Q4f16BNB4
SapiensFoundation for Human Vision Modelsdemoβœ…β“βœ…βœ…βœ…βœ…βœ…
YOLOPv2Panoptic Drivingdemoβœ…β“βœ…βŒβŒβŒβŒ

🀝 Contributing

This is a personal project maintained in spare time, so progress on performance optimization and new model support may vary.

We highly welcome PRs for model optimization! If you have expertise in specific models and can help optimize their interfaces or post-processing, your contributions would be invaluable. Feel free to open an issue or submit a pull request for suggestions, bug reports, or new features.

πŸ™ Acknowledgments

Thanks to all the open-source libraries and their maintainers that make this project possible. See Cargo.toml for a complete list of dependencies.

πŸ“œ License

This project is licensed under LICENSE.

cuda
florence2
grounding-dino
imshow
ocr
onnx
onnxruntime
rust-yolo
sam
sam3
smolvlm
tensorrt
yolo
yolo11
yolo-rs
yolo-rust
yolov11
yolov8

Contributors

jamjamjon

155 commits

wep21

10 commits

oatiz

4 commits

TD-Sky

3 commits

jamjamjon/usls

A Rust library integrated with ONNXRuntime, providing a collection of Computer Vison and Vision-Language models such as YOLO, FastVLM, and more.

Rust

443

185 commits

updated Jul 30, 2026

See the code

README

usls

Rust CI Crates.io Version ONNXRuntime MSRV Rust MSRV


usls is a cross-platform Rust library powered by ONNX Runtime for efficient inference of SOTA vision and vision-language models (typically under 1B parameters).

(Generated by Seedream4.5)

🌟 Highlights

  • ⚑ High Performance: Multi-threading, SIMD, and CUDA-accelerated processing
  • ✨ Cross-Platform: Linux, macOS, Windows with ONNX Runtime execution providers (CUDA, TensorRT, CoreML, OpenVINO, DirectML, etc.)
  • 🎯 Precision Support: FP32, FP16, INT8, UINT8, Q4, Q4F16, BNB4, and more
  • πŸ› οΈ Full-Stack Suite: DataLoader, Annotator, and Viewer for complete workflows
  • πŸ—οΈ Unified API: Single Model trait inference with run()/forward()/encode_images()/encode_texts() and unified Y output
  • πŸ“₯ Auto-Management: Automatic model download (HuggingFace/GitHub), caching and path resolution
  • πŸ“¦ Multiple Inputs: Image, directory, video, webcam, stream and combinations
  • 🌱 Model Ecosystem: 50+ SOTA vision and VLM models

πŸš€ Quick Start

Run the YOLO-Series demo to explore models with different tasks, precision and execution providers:

  • Tasks: detect, segment, pose, classify, obb
  • Versions: v5, v6, v7, v8, v9, v10, 11, 12, v13, 26
  • Scales: n, s, m, l, x
  • Precision: fp32, fp16, q8, int8, q4, q4f16, bnb4, and more
  • Execution Providers: CPU, CUDA, TensorRT, TensorRT-RTX, CoreML, OpenVINO, and more
CPU
cargo run -r --example yolo -- --task detect --ver 26 --scale n --dtype fp16
Nvidia CUDA + CUDA Image Processor
cargo run -r -F cuda --example yolo -- --task segment --ver 11 --scale m --device cuda:0 --processor-device cuda:0
Nvidia TensorRT + CUDA Image Processor
cargo run -r -F tensorrt-full --example yolo -- --device tensorrt:0 --processor-device cuda:0
Nvidia TensorRT-RTX + CUDA Image Processor
cargo run -r -F nvrtx-full --example yolo -- --device nvrtx:0 --processor-device cuda:0
Apple Silicon CoreML
cargo run -r -F coreml --example yolo -- --device coreml
Intel OpenVINO (CPU/GPU/VPU)
cargo run -r -F openvino -F ort-load-dynamic --example yolo -- --device openvino:CPU
πŸ“Š Performance Benchmarks

Environment: NVIDIA RTX 3060Ti (TensorRT-10.11.0.33, CUDA 12.8, TensorRT-RTX-1.3.0.35) / Intel i5-12400F

Setup: YOLO26 Detection, COCO2017-val (5,000 images), 640x640, Conf thresholds: [0.35, 0.3, ..]

Results are for rough reference only.

ScaleEPImage
Processor
DTypeBatchPreprocessInferencePostprocessTotal
nTensorRTCUDAFP161~233Β΅s~1.3ms~14Β΅s~1.55ms
nTensorRT-RTXCUDAFP321~233Β΅s~2.0ms~10Β΅s~2.24ms
nTensorRT-RTXCUDAFP161❓❓❓❓
nCUDACUDAFP321~233Β΅s~5.0ms~17Β΅s~5.25ms
nCUDACUDAFP161~233Β΅s~3.6ms~17Β΅s~3.85ms
nCUDACPUFP321~800Β΅s~6.5ms~14Β΅s~7.31ms
nCUDACPUFP161~800Β΅s~5.0ms~14Β΅s~5.81ms
nCPUCPUFP321~970Β΅s~20.5ms~14Β΅s~21.48ms
nCPUCPUFP161~970Β΅s~25.0ms~14Β΅s~25.98ms
nTensorRTCUDAFP168~1.2ms~6.0ms~55Β΅s~7.26ms
nTensorRTCPUFP168~18.0ms~25.5ms~55Β΅s~43.56ms
mTensorRTCUDAFP161~233Β΅s~3.6ms~14Β΅s~3.85ms
mTensorRTCUDAInt81~233Β΅s~2.6ms~14Β΅s~2.84ms
mCUDACUDAFP321~233Β΅s~16.1ms~17Β΅s~16.35ms
mCUDACUDAFP161~233Β΅s~8.8ms~17Β΅s~9.05ms

πŸ” What's Next?

πŸ“¦ Model Zoo

[!NOTE]

Status:β€‚βœ… Supported  |  ❓ Unknown  |β€‚β€‚βŒ Not Supported For Now

πŸ” All ONNX models are available from the ONNX Models Repository

πŸ”₯ YOLO-Series
ModelTask / DescriptionDemoDynamic BatchTensorRTFP32FP16Q8Q4f16BNB4
YOLOv5Image Classification
Object Detection
Instance Segmentation
demoβœ…βœ…βœ…βœ…βœ…βŒβŒ
YOLOv6Object Detectiondemoβœ…βœ…βœ…βœ…βœ…βŒβŒ
YOLOv7Object Detectiondemoβœ…βœ…βœ…βœ…βœ…βŒβŒ
YOLOv8Object Detection
Instance Segmentation
Image Classification
Oriented Object Detection
Keypoint Detection
demoβœ…βœ…βœ…βœ…βœ…βŒβŒ
YOLO11Object Detection
Instance Segmentation
Image Classification
Oriented Object Detection
Keypoint Detection
demoβœ…βœ…βœ…βœ…βœ…βŒβŒ
YOLOv9Object Detectiondemoβœ…βœ…βœ…βœ…βœ…βŒβŒ
YOLOv10Object Detectiondemoβœ…βœ…βœ…βœ…βœ…βŒβŒ
YOLOv12Image Classification
Object Detection
Instance Segmentation
demoβœ…βœ…βœ…βœ…βœ…βœ…βœ…
YOLOv13Object Detectiondemoβœ…βœ…βœ…βœ…βœ…βœ…βœ…
YOLO26Object Detection
Instance Segmentation
Image Classification
Oriented Object Detection
Keypoint Detection
demoβœ…βœ…βœ…βœ…βœ…βœ…βœ…
🏷️ Image Classification & Tagging
ModelTask / DescriptionDemoDynamic BatchTensorRTFP32FP16Q8Q4f16BNB4
BEiTImage Classificationdemoβœ…βœ…βœ…βœ…βŒβŒβŒ
ConvNeXtImage Classificationdemoβœ…βœ…βœ…βœ…βŒβŒβŒ
FastViTImage Classificationdemoβœ…βœ…βœ…βœ…βŒβŒβŒ
MobileOneImage Classificationdemoβœ…βœ…βœ…βœ…βŒβŒβŒ
DeiTImage Classificationdemoβœ…βœ…βœ…βœ…βŒβŒβŒ
RAMImage Taggingdemoβœ…β“βœ…βœ…βœ…βœ…βœ…
RAM++Image Taggingdemoβœ…β“βœ…βœ…βœ…βœ…βœ…
🎯 Object Detection
ModelTask / DescriptionDemoDynamic BatchTensorRTFP32FP16Q8Q4f16BNB4
RT-DETRv1Object Detectiondemoβœ…βœ…βœ…βœ…βœ…βœ…βœ…
RT-DETRv2Object Detectiondemoβœ…βœ…βœ…βœ…βœ…βœ…βœ…
RT-DETRv4Object Detectiondemoβœ…βœ…βœ…βœ…βœ…βœ…βœ…
RF-DETRObject Detectiondemoβœ…βœ…βœ…βœ…βœ…βœ…βœ…
PP-PicoDetObject DetectiondemoβŒβ“βœ…βŒβŒβŒβŒ
D-FINEObject Detectiondemoβœ…β“βœ…βŒβŒβŒβŒ
DEIMObject Detectiondemoβœ…β“βœ…βŒβŒβŒβŒ
DEIMv2Object Detectiondemoβœ…β“βœ…βœ…βœ…βœ…βœ…
🎨 Image Segmentation
ModelTask / DescriptionDemoDynamic BatchTensorRTFP32FP16Q8Q4f16BNB4
SAMSegment Anythingdemoβœ…β“βœ…βŒβŒβŒβŒ
SAM-HQSegment Anythingdemoβœ…β“βœ…βŒβŒβŒβŒ
MobileSAMSegment Anythingdemoβœ…β“βœ…βŒβŒβŒβŒ
EdgeSAMSegment Anythingdemoβœ…β“βœ…βŒβŒβŒβŒ
YOLOE-v8/11-Prompt-FreeOpen-Set Detection And Segmentationdemoβœ…βœ…βœ…βœ…βœ…βœ…βœ…
YOLOE-26-Prompt-FreeOpen-Set Detection And Segmentationdemoβœ…βœ…βœ…βœ…βœ…βœ…βœ…
FastSAMInstance Segmentationdemoβœ…βœ…βœ…βœ…βœ…βœ…βœ…
EdgeCrafter (ECDetSeg)Instance Segmentationdemoβ“βœ…βœ…βœ…βŒβŒβŒ
SAM2Segment Anythingdemoβœ…β“βœ…βŒβŒβŒβŒ
SAM3-TrackerSegment Anythingdemoβœ…βœ…βœ…βœ…βœ…βœ…βœ…
BiRefNet - CODCamouflaged Object Detectiondemoβœ…β“βœ…βœ…βœ…βœ…βœ…
BiRefNet - DISDichotomous Image Segmentationdemoβœ…β“βœ…βœ…βœ…βœ…βœ…
BiRefNet - HRSODHigh-Resolution Salient Object Detectiondemoβœ…β“βœ…βœ…βœ…βœ…βœ…
BiRefNet - MassiveMulti-Dataset Robust Segmentationdemoβœ…β“βœ…βœ…βœ…βœ…βœ…
✨ Background Removal
ModelTask / DescriptionDemoDynamic BatchTensorRTFP32FP16Q8Q4f16BNB4
RMBGImage Segmentation
Background Removal
demoβœ…β“βœ…βœ…βœ…βœ…βœ…
BEN2Image Segmentation
Background Removal
demoβœ…β“βœ…βœ…βŒβŒβŒ
πŸ‘€ Gaze Estimation
ModelTask / DescriptionDemoDynamic BatchTensorRTFP32FP16Q8Q4f16BNB4
MobileGazeEye Gaze Estimationdemoβœ…β“βœ…βœ…βœ…βœ…βœ…
βœ‚οΈ Image Matting & Portrait Segmentation
ModelTask / DescriptionDemoDynamic BatchTensorRTFP32FP16Q8Q4f16BNB4
MODNetImage Mattingdemoβœ…β“βœ…βœ…βœ…βŒβŒ
MediaPipe SelfieImage Segmentationdemoβœ…β“βœ…βœ…βœ…βŒβŒ
BiRefNet - PortraitPortrait Background Removaldemoβœ…β“βœ…βœ…βœ…βœ…βœ…
BiRefNet - MattingPortrait Matting & Background Removaldemoβœ…β“βœ…βœ…βœ…βœ…βœ…
BiRefNet - HR MattingHigh-Resolution Portrait Mattingdemoβœ…β“βœ…βœ…βœ…βœ…βœ…
BiRefNet - GeneralGeneral Purpose Segmentationdemoβœ…β“βœ…βœ…βœ…βœ…βœ…
BiRefNet - HR GeneralHigh-Resolution General Segmentationdemoβœ…β“βœ…βœ…βœ…βœ…βœ…
BiRefNet - Lite GeneralLightweight General Segmentation (2K)demoβœ…β“βœ…βœ…βœ…βœ…βœ…
BiRefNet - General TinyLightweight General Segmentation with Swin-V1-Tinydemoβœ…β“βœ…βœ…βœ…βœ…βœ…
πŸ—ΊοΈ Open-Set Detection & Segmentation
ModelTask / DescriptionDemoDynamic BatchTensorRTFP32FP16Q8Q4f16BNB4
GroundingDINOOpen-Set Detection With Languagedemoβœ…β“βœ…βœ…βœ…βœ…βœ…
MM-GDINOOpen-Set Detection With Languagedemoβœ…β“βœ…βœ…βœ…βœ…βœ…
LLMDetOpen-Set Detection With Languagedemoβœ…β“βœ…βœ…βœ…βœ…βœ…
OWLv2Open-Set Object Detectiondemoβœ…β“βœ…βœ…βŒβŒβŒ
YOLO-WorldOpen-Set Detection With Languagedemoβœ…βœ…βœ…βœ…βœ…βœ…βœ…
YOLOE-Prompt-BasedOpen-Set Detection And Segmentationdemoβœ…βœ…βœ…βœ…βœ…βœ…βœ…
YOLOE-26-Prompt-BasedOpen-Set Detection And Segmentationdemoβœ…βœ…βœ…βœ…βœ…βœ…βœ…
SAM3-ImageOpen-Set Detection And Segmentationdemoβœ…βœ…βœ…βœ…βœ…βœ…βœ…
πŸƒ Multi-Object Tracking
ModelTask / DescriptionDemoDynamic BatchTensorRTFP32FP16Q8Q4f16BNB4
ByteTrackMulti-Object Trackingdemo❌❌❌❌❌❌❌
πŸ’Ž Image Super-Resolution
ModelTask / DescriptionDemoDynamic BatchTensorRTFP32FP16Q8Q4f16BNB4
Swin2SRImage Restorationdemoβœ…β“βœ…βœ…βœ…βœ…βœ…
APISRAnime Super-Resolutiondemoβœ…β“βœ…βœ…βœ…βœ…βœ…
🀸 Pose Estimation
ModelTask / DescriptionDemoDynamic BatchTensorRTFP32FP16Q8Q4f16BNB4
RTMPoseKeypoint Detectiondemoβœ…β“βœ…βœ…βœ…βœ…βœ…
DWPoseKeypoint Detectiondemoβœ…β“βœ…βœ…βœ…βœ…βœ…
RTMWKeypoint Detectiondemoβœ…β“βœ…βœ…βœ…βœ…βœ…
RTMOKeypoint Detectiondemoβœ…β“βœ…βœ…βœ…βœ…βŒ
ECPoseKeypoint Detectiondemoβœ…β“βœ…βœ…βŒβŒβŒ
πŸ” OCR & Document Understanding
ModelTask / DescriptionDemoDynamic BatchTensorRTFP32FP16Q8Q4f16BNB4
DB (PaddleOCR det v4 / v5)Text Detectiondemoβœ…β“βœ…βœ…βŒβŒβŒ
FASTText Detectiondemoβœ…β“βœ…βœ…βŒβŒβŒ
LinkNetText Detectiondemoβœ…β“βœ…βœ…βŒβŒβŒ
SVTR (PaddleOCR rec v4 / v5)Text Recognitiondemoβœ…β“βœ…βœ…βŒβŒβŒ
TrOCRText Recognitiondemoβœ…β“βœ…βœ…βŒβŒβŒ
SLANet (PaddleOCR tab v4 / v5)Table Recognitiondemoβœ…β“βœ…βœ…βŒβŒβŒ
DocLayout-YOLOObject Detectiondemoβœ…β“βœ…βœ…βœ…βŒβŒ
PP-DocLayout-v1-Plus-LObject Detectiondemoβœ…βœ…βœ…βœ…βœ…βŒβŒ
PP-DocLayout-v2Object Detectiondemoβœ…β“βœ…βœ…βœ…βœ…βœ…
PP-DocLayout-v3Object Detectiondemoβœ…βœ…βœ…βœ…βœ…βœ…βœ…
🧩 Vision-Language Models (VLM)
ModelTask / DescriptionDemoDynamic BatchTensorRTFP32FP16Q8Q4f16BNB4
BLIPImage Captioningdemoβœ…β“βœ…β“βŒβŒβŒ
Florence2A Variety of Vision Tasksdemoβœ…β“βœ…βœ…βŒβŒβŒ
Moondream2Open-Set Object Detection
Open-Set Keypoints Detection
Image Captioning
Visual Question Answering
demoβœ…β“βŒβŒβœ…βœ…βŒ
SmolVLMVisual Question Answeringdemoβœ…β“βœ…β“β“β“β“
SmolVLM2Visual Question Answeringdemoβœ…β“βœ…β“β“β“β“
FastVLMVision Language Modelsdemoβœ…β“βœ…βœ…βœ…βœ…βœ…
🧬 Embedding Model
ModelTask / DescriptionDemoDynamic BatchTensorRTFP32FP16Q8Q4f16BNB4
CLIPVision-Language Embeddingdemoβœ…β“βœ…βœ…βœ…βœ…βœ…
jina-clip-v1Vision-Language Embeddingdemoβœ…β“βœ…βœ…βœ…βœ…βœ…
jina-clip-v2Vision-Language Embeddingdemoβœ…β“βœ…βœ…βœ…βœ…βœ…
mobileclipVision-Language Embeddingdemoβœ…β“βœ…βœ…βœ…βœ…βœ…
SigLIPVision-Language Embeddingdemoβœ…β“βœ…βœ…βœ…βœ…βœ…
SigLIPv2Vision-Language Embeddingdemoβœ…β“βœ…βœ…βœ…βœ…βœ…
DINOv2Vision Embeddingdemoβœ…β“βœ…βŒβŒβŒβŒ
DINOv3Vision Embeddingdemoβœ…β“βœ…βœ…βœ…βœ…βœ…
πŸ“ Depth Estimation
ModelTask / DescriptionDemoDynamic BatchTensorRTFP32FP16Q8Q4f16BNB4
DepthAnything v1Monocular Depth Estimationdemoβœ…β“βœ…βœ…βœ…βœ…βœ…
DepthAnything v2Monocular Depth Estimationdemoβœ…β“βœ…βœ…βœ…βœ…βœ…
DepthProMonocular Depth Estimationdemoβœ…β“βœ…βœ…βœ…βœ…βœ…
Depth-Anything-3Monocular
Metric
Multi-View
demoβœ…β“βœ…βœ…βœ…βœ…βœ…
🌌 Others
ModelTask / DescriptionDemoDynamic BatchTensorRTFP32FP16Q8Q4f16BNB4
SapiensFoundation for Human Vision Modelsdemoβœ…β“βœ…βœ…βœ…βœ…βœ…
YOLOPv2Panoptic Drivingdemoβœ…β“βœ…βŒβŒβŒβŒ

🀝 Contributing

This is a personal project maintained in spare time, so progress on performance optimization and new model support may vary.

We highly welcome PRs for model optimization! If you have expertise in specific models and can help optimize their interfaces or post-processing, your contributions would be invaluable. Feel free to open an issue or submit a pull request for suggestions, bug reports, or new features.

πŸ™ Acknowledgments

Thanks to all the open-source libraries and their maintainers that make this project possible. See Cargo.toml for a complete list of dependencies.

πŸ“œ License

This project is licensed under LICENSE.

cuda
florence2
grounding-dino
imshow
ocr
onnx
onnxruntime
rust-yolo
sam
sam3
smolvlm
tensorrt
yolo
yolo11
yolo-rs
yolo-rust
yolov11
yolov8

Contributors

jamjamjon

155 commits

wep21

10 commits

oatiz

4 commits

TD-Sky

3 commits

Languages

Rust

92.5%

Cuda

4.2%

Python

3.3%