Skip to content

Commit 4367acf

Browse files
1 parent 3bbc91c commit 4367acf

1 file changed

Lines changed: 18 additions & 18 deletions

File tree

README.md

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -97,27 +97,27 @@ cargo run --release -- predict --model <model.onnx> --source <source>
9797

9898
**CLI Options:**
9999

100-
| Option | Short | Description | Default |
101-
| ---------- | ----- | ------------------------------------------------ | -------------- |
102-
| `--model` | `-m` | Path to ONNX model file | `yolo11n.onnx` |
103-
| `--source` | `-s` | Input source (image, video, webcam index, or URL)| `Task dependent Ultralytics URL assets`|
104-
| `--conf` | | Confidence threshold | `0.25` |
105-
| `--iou` | | IoU threshold for NMS | `0.45` |
106-
| `--imgsz` | | Inference image size | `640` |
107-
| `--half` | | Use FP16 half-precision inference | `false` |
108-
| `--save` | | Save annotated images to runs/detect/predict | `false` |
109-
| `--show` | | Display results in a window | `false` |
100+
| Option | Short | Description | Default |
101+
| ---------- | ----- | ------------------------------------------------- | --------------------------------------- |
102+
| `--model` | `-m` | Path to ONNX model file | `yolo11n.onnx` |
103+
| `--source` | `-s` | Input source (image, video, webcam index, or URL) | `Task dependent Ultralytics URL assets` |
104+
| `--conf` | | Confidence threshold | `0.25` |
105+
| `--iou` | | IoU threshold for NMS | `0.45` |
106+
| `--imgsz` | | Inference image size | `640` |
107+
| `--half` | | Use FP16 half-precision inference | `false` |
108+
| `--save` | | Save annotated images to runs/detect/predict | `false` |
109+
| `--show` | | Display results in a window | `false` |
110110

111111
**Source Options:**
112112

113-
| Source Type | Example Input | Description |
114-
| ----------- | ------------------------------- | ------------------------------------ |
115-
| Image | `image.jpg` | Single image file |
116-
| Directory | `images/` | Directory of images |
117-
| Glob | `images/*.jpg` | Glob pattern for images |
118-
| Video | `video.mp4` | Video file |
119-
| Webcam | `0`,`1` | Webcam index (0 = default webcam) |
120-
| URL | `https://example.com/image.jpg` | Remote image URL |
113+
| Source Type | Example Input | Description |
114+
| ----------- | ------------------------------- | --------------------------------- |
115+
| Image | `image.jpg` | Single image file |
116+
| Directory | `images/` | Directory of images |
117+
| Glob | `images/*.jpg` | Glob pattern for images |
118+
| Video | `video.mp4` | Video file |
119+
| Webcam | `0`,`1` | Webcam index (0 = default webcam) |
120+
| URL | `https://example.com/image.jpg` | Remote image URL |
121121

122122
### As a Rust Library
123123

0 commit comments

Comments
 (0)