diff --git a/samples/data/dnn/object_detection_classes_yolov4.txt b/samples/data/dnn/object_detection_classes_yolo.txt similarity index 100% rename from samples/data/dnn/object_detection_classes_yolov4.txt rename to samples/data/dnn/object_detection_classes_yolo.txt diff --git a/samples/dnn/models.yml b/samples/dnn/models.yml index c780bcb139..53d8b8048f 100644 --- a/samples/dnn/models.yml +++ b/samples/dnn/models.yml @@ -21,7 +21,7 @@ opencv_fd: # 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 -yolo: +yolov4: load_info: url: "https://github.com/AlexeyAB/darknet/releases/download/darknet_yolo_v3_optimal/yolov4.weights" sha1: "0143deb6c46fcc7f74dd35bf3c14edc3784e99ee" @@ -32,7 +32,7 @@ yolo: width: 416 height: 416 rgb: true - classes: "object_detection_classes_yolov4.txt" + classes: "object_detection_classes_yolo.txt" sample: "object_detection" yolov4-tiny: @@ -46,7 +46,21 @@ yolov4-tiny: width: 416 height: 416 rgb: true - classes: "object_detection_classes_yolov4.txt" + classes: "object_detection_classes_yolo.txt" + sample: "object_detection" + +yolov3: + load_info: + url: "https://pjreddie.com/media/files/yolov3.weights" + sha1: "520878f12e97cf820529daea502acca380f1cb8e" + model: "yolov3.weights" + config: "yolov3.cfg" + mean: [0, 0, 0] + scale: 0.00392 + width: 416 + height: 416 + rgb: true + classes: "object_detection_classes_yolo.txt" sample: "object_detection" tiny-yolo-voc: