Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Tetragramm
GitHub Repository: Tetragramm/opencv
Path: blob/master/samples/dnn/models.yml
16337 views
1
%YAML:1.0
2
3
################################################################################
4
# Object detection models.
5
################################################################################
6
7
# OpenCV's face detection network
8
opencv_fd:
9
model: "opencv_face_detector.caffemodel"
10
config: "opencv_face_detector.prototxt"
11
mean: [104, 177, 123]
12
scale: 1.0
13
width: 300
14
height: 300
15
rgb: false
16
sample: "object_detection"
17
18
# YOLO object detection family from Darknet (https://pjreddie.com/darknet/yolo/)
19
# Might be used for all YOLOv2, TinyYolov2 and YOLOv3
20
yolo:
21
model: "yolov3.weights"
22
config: "yolov3.cfg"
23
mean: [0, 0, 0]
24
scale: 0.00392
25
width: 416
26
height: 416
27
rgb: true
28
classes: "object_detection_classes_yolov3.txt"
29
sample: "object_detection"
30
31
tiny-yolo-voc:
32
model: "tiny-yolo-voc.weights"
33
config: "tiny-yolo-voc.cfg"
34
mean: [0, 0, 0]
35
scale: 0.00392
36
width: 416
37
height: 416
38
rgb: true
39
classes: "object_detection_classes_pascal_voc.txt"
40
sample: "object_detection"
41
42
# Caffe implementation of SSD model from https://github.com/chuanqi305/MobileNet-SSD
43
ssd_caffe:
44
model: "MobileNetSSD_deploy.caffemodel"
45
config: "MobileNetSSD_deploy.prototxt"
46
mean: [127.5, 127.5, 127.5]
47
scale: 0.007843
48
width: 300
49
height: 300
50
rgb: false
51
classes: "object_detection_classes_pascal_voc.txt"
52
sample: "object_detection"
53
54
# TensorFlow implementation of SSD model from https://github.com/tensorflow/models/tree/master/research/object_detection
55
ssd_tf:
56
model: "ssd_mobilenet_v1_coco_2017_11_17.pb"
57
config: "ssd_mobilenet_v1_coco_2017_11_17.pbtxt"
58
mean: [0, 0, 0]
59
scale: 1.0
60
width: 300
61
height: 300
62
rgb: true
63
classes: "object_detection_classes_coco.txt"
64
sample: "object_detection"
65
66
# TensorFlow implementation of Faster-RCNN model from https://github.com/tensorflow/models/tree/master/research/object_detection
67
faster_rcnn_tf:
68
model: "faster_rcnn_inception_v2_coco_2018_01_28.pb"
69
config: "faster_rcnn_inception_v2_coco_2018_01_28.pbtxt"
70
mean: [0, 0, 0]
71
scale: 1.0
72
width: 800
73
height: 600
74
rgb: true
75
sample: "object_detection"
76
77
################################################################################
78
# Image classification models.
79
################################################################################
80
81
# SqueezeNet v1.1 from https://github.com/DeepScale/SqueezeNet
82
squeezenet:
83
model: "squeezenet_v1.1.caffemodel"
84
config: "squeezenet_v1.1.prototxt"
85
mean: [0, 0, 0]
86
scale: 1.0
87
width: 227
88
height: 227
89
rgb: false
90
classes: "classification_classes_ILSVRC2012.txt"
91
sample: "classification"
92
93
################################################################################
94
# Semantic segmentation models.
95
################################################################################
96
97
# ENet road scene segmentation network from https://github.com/e-lab/ENet-training
98
# Works fine for different input sizes.
99
enet:
100
model: "Enet-model-best.net"
101
mean: [0, 0, 0]
102
scale: 0.00392
103
width: 512
104
height: 256
105
rgb: true
106
classes: "enet-classes.txt"
107
sample: "segmentation"
108
109
fcn8s:
110
model: "fcn8s-heavy-pascal.caffemodel"
111
config: "fcn8s-heavy-pascal.prototxt"
112
mean: [0, 0, 0]
113
scale: 1.0
114
width: 500
115
height: 500
116
rgb: false
117
sample: "segmentation"
118
119