From 11c69bb1717e2e0f37b2c25c4741aa4b18538788 Mon Sep 17 00:00:00 2001 From: richard28039 <89371302+richard28039@users.noreply.github.com> Date: Mon, 24 Jun 2024 15:28:38 +0800 Subject: [PATCH] Merge pull request #25775 from richard28039:4.x Add yolov8l.onnx to samples #25775 ### Pull Request Readiness Checklist See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request - [x] I agree to contribute to the project under Apache 2 License. - [x] To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV - [x] The PR is proposed to the proper branch - [ ] There is a reference to the original bug report and related work - [ ] There is accuracy test, performance test and test data in opencv_extra repository, if applicable Patch to opencv_extra has the same branch name. - [ ] The feature is well documented and sample code can be built with the project CMake Hello, I noticed that the /samples/dnn/models.yml said it should be used for all yolov8 models, but the YOLOv8l is not included in the file, so I added it to the file, thanks. ![image](https://github.com/opencv/opencv/assets/89371302/7a7b0090-ef4c-478d-8f24-7d99260fe0c9) --- samples/dnn/models.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/samples/dnn/models.yml b/samples/dnn/models.yml index b14dae327c..15ab9d0f3a 100644 --- a/samples/dnn/models.yml +++ b/samples/dnn/models.yml @@ -76,6 +76,20 @@ yolov8m: background_label_id: 0 sample: "yolo_detector" +yolov8l: + load_info: + url: "https://github.com/CVHub520/X-AnyLabeling/releases/download/v0.1.0/yolov8l.onnx" + sha1: "462df53ca3a85d110bf6be7fc2e2bb1277124395" + model: "yolov8l.onnx" + mean: 0.0 + scale: 0.00392 + width: 640 + height: 640 + rgb: true + classes: "object_detection_classes_yolo.txt" + background_label_id: 0 + sample: "yolo_detector" + # YOLO4 object detection family from Darknet (https://github.com/AlexeyAB/darknet) # YOLO object detection family from Darknet (https://pjreddie.com/darknet/yolo/) # Might be used for all YOLOv2, TinyYolov2, YOLOv3, YOLOv4 and TinyYolov4