| Crates.io | yolov10 |
| lib.rs | yolov10 |
| version | 0.2.0 |
| created_at | 2025-09-28 07:07:44.880001+00 |
| updated_at | 2025-10-05 09:57:11.365547+00 |
| description | YOLOv10 object detection implementation in Rust with ONNX Runtime |
| homepage | https://github.com/kingzcheung/yolov10 |
| repository | https://github.com/kingzcheung/yolov10 |
| max_upload_size | |
| id | 1858044 |
| size | 214,079 |
This project implements YOLOv10 object detection model inference using Rust programming language with ONNX Runtime.
As a library crate, you can integrate this into your own Rust projects by adding it as a dependency:
[dependencies]
yolov10 = {version = "*" } # * means latest
Then use it in your code:
use yolov10::{InferenceEngine, draw_labels};
fn main() -> Result<(), Box<dyn std::error::Error>> {
let mut engine = InferenceEngine::new("yolov10s.onnx")?;
let input_data = std::fs::read("input.jpg")?;
let results = engine.run_inference(&input_data, 0.3)?;
let image = image::load_from_memory(&input_data)?;
let img = draw_labels(&image, &results);
img.save("result.jpg")?;
Ok(())
}
The YOLOv10 model weights are licensed under AGPL-3.0, which is a copyleft license. If you use these weights in your project, your project may need to be released under the same or a compatible license. Please review the AGPL-3.0 license terms carefully before using the model weights.
This project's code is licensed under the Apache License 2.0. However, if you use the YOLOv10 model weights, the combined work may be subject to the AGPL-3.0 license terms.
This project's code is licensed under the Apache License 2.0 - see the LICENSE file for details. The YOLOv10 model weights are under AGPL-3.0 license.