Docs Colab, OBB and typos fixes (#10366)
Co-authored-by: Olivier Louvignes <olivier@mg-crea.com> Co-authored-by: RainRat <rainrat78@yahoo.ca>
This commit is contained in:
parent
f646972b95
commit
d6bb3046a8
13 changed files with 18 additions and 16 deletions
|
|
@ -13,7 +13,7 @@ cd examples/YOLOv8-CPP-Inference
|
|||
# Add a **yolov8\_.onnx** and/or **yolov5\_.onnx** model(s) to the ultralytics folder.
|
||||
# Edit the **main.cpp** to change the **projectBasePath** to match your user.
|
||||
|
||||
# Note that by default the CMake file will try and import the CUDA library to be used with the OpenCVs dnn (cuDNN) GPU Inference.
|
||||
# Note that by default the CMake file will try to import the CUDA library to be used with the OpenCVs dnn (cuDNN) GPU Inference.
|
||||
# If your OpenCV build does not use CUDA/cuDNN you can remove that import call and run the example on CPU.
|
||||
|
||||
mkdir build
|
||||
|
|
|
|||
|
|
@ -161,7 +161,7 @@ impl OrtBackend {
|
|||
Ok(metadata) => match metadata.custom("task") {
|
||||
Err(_) => panic!("Can not get custom value. Try making it explicit by `--task`"),
|
||||
Ok(value) => match value {
|
||||
None => panic!("No correspoing value of `task` found in metadata. Make it explicit by `--task`"),
|
||||
None => panic!("No corresponding value of `task` found in metadata. Make it explicit by `--task`"),
|
||||
Some(task) => match task.as_str() {
|
||||
"classify" => YOLOTask::Classify,
|
||||
"detect" => YOLOTask::Detect,
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@ python yolov8_region_counter.py --source "path/to/video.mp4" --save-img --weight
|
|||
# If you want to detect specific class (first class and third class)
|
||||
python yolov8_region_counter.py --source "path/to/video.mp4" --classes 0 2 --weights "path/to/model.pt"
|
||||
|
||||
# If you dont want to save results
|
||||
# If you don't want to save results
|
||||
python yolov8_region_counter.py --source "path/to/video.mp4" --view-img
|
||||
```
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue