ADD weights yolov4 in models.yml

pull/22475/head
alessandro faria 2 years ago
parent 448e3a7e58
commit 2e40b7f113
  1. 12
      samples/data/dnn/object_detection_classes_yolov4.txt
  2. 10
      samples/dnn/models.yml

@ -1,8 +1,8 @@
person
bicycle
car
motorcycle
airplane
motorbike
aeroplane
bus
train
truck
@ -55,12 +55,12 @@ pizza
donut
cake
chair
couch
potted plant
sofa
pottedplant
bed
dining table
diningtable
toilet
tv
tvmonitor
laptop
mouse
remote

@ -23,16 +23,16 @@ opencv_fd:
# Might be used for all YOLOv2, TinyYolov2, YOLOv3, YOLOv4 and TinyYolov4
yolo:
load_info:
url: "https://pjreddie.com/media/files/yolov3.weights"
sha1: "520878f12e97cf820529daea502acca380f1cb8e"
model: "yolov3.weights"
config: "yolov3.cfg"
url: "https://github.com/AlexeyAB/darknet/releases/download/darknet_yolo_v3_optimal/yolov4.weights"
sha1: "0143deb6c46fcc7f74dd35bf3c14edc3784e99ee"
model: "yolov4.weights"
config: "yolov4.cfg"
mean: [0, 0, 0]
scale: 0.00392
width: 416
height: 416
rgb: true
classes: "object_detection_classes_yolov3.txt"
classes: "object_detection_classes_yolov4.txt"
sample: "object_detection"
tiny-yolo-voc:

Loading…
Cancel
Save