Skip to content

Commit fdc9af3

Browse files
authored
package: πŸ“¦ version bump to ultralytics-inference 0.0.15 (#169)
Signed-off-by: Onuralp SEZER <onuralp@ultralytics.com>
1 parent 0d6e454 commit fdc9af3

5 files changed

Lines changed: 11 additions & 9 deletions

File tree

β€ŽCargo.lockβ€Ž

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

β€ŽCargo.tomlβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[package]
44
name = "ultralytics-inference"
5-
version = "0.0.14"
5+
version = "0.0.15"
66
edition = "2024"
77
rust-version = "1.88"
88
authors = [

β€ŽREADME.mdβ€Ž

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ ultralytics-inference predict --model yolo26n.onnx --source image.jpg --rect
135135
136136
WARNING ⚠️ 'model' argument is missing. Using default '--model=yolo26n.onnx'.
137137
WARNING ⚠️ 'source' argument is missing. Using default images: https://ultralytics.com/images/bus.jpg, https://ultralytics.com/images/zidane.jpg
138-
Ultralytics 0.0.14 πŸš€ Rust ONNX FP32 CPU
138+
Ultralytics Inference 0.0.15 πŸš€ Rust ONNX FP32 CPU
139139
Using ONNX Runtime CPUExecutionProvider
140140
YOLO26n summary: 80 classes, imgsz=(640, 640)
141141
@@ -153,7 +153,7 @@ Results saved to runs/detect/predict1
153153

154154
WARNING ⚠️ 'model' argument is missing. Using default '--model=yolo26n-seg.onnx'.
155155
WARNING ⚠️ 'source' argument is missing. Using default images: https://ultralytics.com/images/bus.jpg, https://ultralytics.com/images/zidane.jpg
156-
Ultralytics 0.0.14 πŸš€ Rust ONNX FP32 CPU
156+
Ultralytics Inference 0.0.15 πŸš€ Rust ONNX FP32 CPU
157157
Using ONNX Runtime CPUExecutionProvider
158158
YOLO26n-seg summary: 80 classes, imgsz=(640, 640)
159159

@@ -243,7 +243,7 @@ Add to your `Cargo.toml` (choose one):
243243
```toml
244244
# Stable release from crates.io
245245
[dependencies]
246-
ultralytics-inference = "0.0.14"
246+
ultralytics-inference = "0.0.15"
247247
```
248248

249249
```toml

β€Žsrc/cli/predict.rsβ€Ž

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ use crate::visualizer::Viewer;
1818
use image::GenericImageView;
1919

2020
use crate::utils::pluralize;
21-
use crate::{InferenceConfig, Results, VERSION, YOLOModel};
21+
use crate::{DISPLAY_NAME, InferenceConfig, Results, VERSION, YOLOModel};
2222

2323
use crate::batch::BatchProcessor;
2424
use crate::cli::args::PredictArgs;
@@ -203,7 +203,7 @@ pub fn run_prediction(args: &PredictArgs) {
203203
"CPU".to_string()
204204
}
205205
};
206-
println!("Ultralytics {VERSION} πŸš€ Rust ONNX {precision} {device_str}");
206+
println!("{DISPLAY_NAME} {VERSION} πŸš€ Rust ONNX {precision} {device_str}");
207207
println!("Using ONNX Runtime {}", model.execution_provider());
208208

209209
let imgsz = model.imgsz();
@@ -343,8 +343,7 @@ pub fn run_prediction(args: &PredictArgs) {
343343

344344
if viewer.is_none() {
345345
viewer = Some(
346-
Viewer::new("Ultralytics Inference", view_width, view_height)
347-
.unwrap(),
346+
Viewer::new(DISPLAY_NAME, view_width, view_height).unwrap(),
348347
);
349348
}
350349

β€Žsrc/lib.rsβ€Ž

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -301,6 +301,9 @@ pub const VERSION: &str = env!("CARGO_PKG_VERSION");
301301
/// Library name.
302302
pub const NAME: &str = env!("CARGO_PKG_NAME");
303303

304+
/// Application display name.
305+
pub const DISPLAY_NAME: &str = "Ultralytics Inference";
306+
304307
#[cfg(test)]
305308
mod tests {
306309
use super::*;

0 commit comments

Comments
Β (0)