fix the mistake

This commit is contained in:
richard28039 2024-07-11 03:15:52 +08:00
parent 7dcc305301
commit a9d8d45df4

View File

@ -222,7 +222,7 @@ cd ..
export OPENCV_TEST_DATA_PATH=$(pwd) export OPENCV_TEST_DATA_PATH=$(pwd)
cd <build directory of OpenCV> 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 @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. 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.