Skip to content

Commit

Permalink
Merge pull request opencv#25897 from richard28039:4.x
Browse files Browse the repository at this point in the history
Fix the mistake about yolov10 inference step in dnn_yolo.markdown
  • Loading branch information
asmorkalov authored Jul 11, 2024
2 parents dc2ce2b + a9d8d45 commit 50f1ea5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/tutorials/dnn/dnn_yolo/dnn_yolo.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ cd ..
export OPENCV_TEST_DATA_PATH=$(pwd)
cd <build directory of OpenCV>

./bin/example_dnn_yolo_detector --model=onnx/models/yolov8n.onnx --yolo=yolov10 --width=640 --height=480 --scale=0.003921568627 --padvalue=114
./bin/example_dnn_yolo_detector --model=onnx/models/yolov10s.onnx --yolo=yolov10 --width=640 --height=480 --scale=0.003921568627 --padvalue=114
@endcode

This will run `YOLOv10` detector on first camera found on your system. If you want to run it on a image/video file, you can use `--input` option to specify the path to the file.
Expand Down

0 comments on commit 50f1ea5

Please sign in to comment.