Skip to content

Commit e043d5d

Browse files
authored
Merge pull request opencv#26154 from cabelo:yolov5l
Added and tested yolov5l model. opencv#26154 ### 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 - [X] There is a reference to the original bug report and related work - [X] There is accuracy test, performance test and test data in opencv_extra repository, if applicable Patch to opencv_extra has the same branch name. - [X] The feature is well documented and sample code can be built with the project CMake Below is evidence of the test: ![v5l](https://github.com/user-attachments/assets/f31eff0b-11fc-44de-bdaf-640e67d1d924)
1 parent 881440c commit e043d5d

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

samples/dnn/models.yml

+17
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,23 @@ yolov8l:
9090
background_label_id: 0
9191
sample: "yolo_detector"
9292

93+
# YOLOv5 object detection family from ultralytics (https://github.com/ultralytics/ultralytics)
94+
# Might be used for all YOLOv5n YOLOv5s YOLOv5m YOLOv5l and YOLOv5x
95+
96+
yolov5l:
97+
load_info:
98+
url: "https://github.com/CVHub520/X-AnyLabeling/releases/download/v0.1.0/yolov5l.onnx"
99+
sha1: "9de7e54c524b7fe7577bbd4cdbbdaed53375c8f1"
100+
model: "yolov5l.onnx"
101+
mean: 0.0
102+
scale: 0.00392
103+
width: 640
104+
height: 640
105+
rgb: true
106+
classes: "object_detection_classes_yolo.txt"
107+
background_label_id: 0
108+
sample: "yolo_detector"
109+
93110
# YOLO4 object detection family from Darknet (https://github.com/AlexeyAB/darknet)
94111
# YOLO object detection family from Darknet (https://pjreddie.com/darknet/yolo/)
95112
# Might be used for all YOLOv2, TinyYolov2, YOLOv3, YOLOv4 and TinyYolov4

0 commit comments

Comments
 (0)