yolo-rs 0.2.2

YOLO object detection model in Rust. Currently on YOLO v11.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! The errors of the Yolo crate.

#[derive(thiserror::Error, Debug)]
pub enum YoloError {
    #[error("build session: {0}")]
    OrtSessionBuildError(ort::Error),
    #[error("load session: {0}")]
    OrtSessionLoadError(ort::Error),
    #[error("load model: {0}")]
    OrtInputError(ort::Error),
    #[error("run inference: {0}")]
    OrtInferenceError(ort::Error),
    #[error("extract sensor: {0}")]
    OrtExtractSensorError(ort::Error),
}