Skip to content

Latest commit

 

History

History

cpp_tensorrt_yolo_onnx_native

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Yolov12 v11 v10 v8 v5 custom ONNX ran in the ZED SDK

This sample is designed to run a state of the art object detection model using the ZED SDK and optimizing your model with the highly optimized TensorRT framework. Internally, the ZED SDK takes its images, run inference on it to obtain 2D box detections and extract 3D informations (localization, 3D bounding boxes) and tracking.

This sample shows how to pass your custom YOLO-like onnx model to the ZED SDK.

A custom detector can be trained with the same architecture. These tutorials walk you through the workflow of training a custom detector :

Getting Started

Workflow

This sample is expecting an ONNX exported using the original YOLO code. Please refer to the section corresponding to the needed version.

Build the sample

Running the sample with the engine generated

./yolo_onnx_zed [.onnx] [zed camera id / optional svo filepath]

# For example yolov8n
./yolo_onnx_zed yolov8n.onnx 0      # 0  for zed camera id 0

# With an SVO file
./yolo_onnx_zed yolov8n.onnx ./foo.svo

Support

If you need assistance go to our Community site at https://community.stereolabs.com/