配置文件官网:https://github.com/opencv/opencv/wiki/TensorFlow-Object-Detection-API

opencv的dnn模块读取models.yml文件中包含的目标检测模型有以下5种:

1、OpenCV’s face detection network

opencv_fd:
model: “opencv_face_detector.caffemodel”
config: “opencv_face_detector.prototxt”
mean: [104, 177, 123]
scale: 1.0
width: 300
height: 300
rgb: false
sample: “object_detection”

2、 YOLO object detection family from Darknet

(https://pjreddie.com/darknet/yolo/)
Might be used for all YOLOv2, TinyYolov2 and YOLOv3

  1. yolo:
    model: “yolov3.weights”
    config: “yolov3.cfg”
    mean: [0, 0, 0]
    scale: 0.00392
    width: 416
    height: 416
    rgb: true
    classes: “object_detection_classes_yolov3.txt”
    sample: “object_detection”
  2. tiny-yolo-voc:
    model: “tiny-yolo-voc.weights”
    config: “tiny-yolo-voc.cfg”
    mean: [0, 0, 0]
    scale: 0.00392
    width: 416
    height: 416
    rgb: true
    classes: “object_detection_classes_pascal_voc.txt”
    sample: “object_detection”

3、Caffe implementation of SSD model

from https://github.com/chuanqi305/MobileNet-SSD
ssd_caffe:
model: “MobileNetSSD_deploy.caffemodel”
config: “MobileNetSSD_deploy.prototxt”
mean: [127.5, 127.5, 127.5]
scale: 0.007843
width: 300
height: 300
rgb: false
classes: “object_detection_classes_pascal_voc.txt”
sample: “object_detection”

4、TensorFlow implementation of SSD model

from https://github.com/tensorflow/models/tree/master/research/object_detection
ssd_tf:
model: “ssd_mobilenet_v1_coco_2017_11_17.pb”
config: “ssd_mobilenet_v1_coco_2017_11_17.pbtxt”
mean: [0, 0, 0]
scale: 1.0
width: 300
height: 300
rgb: true
classes: “object_detection_classes_coco.txt”
sample: “object_detection”

5、TensorFlow implementation of Faster-RCNN model

from https://github.com/tensorflow/models/tree/master/research/object_detection
faster_rcnn_tf:
model: “faster_rcnn_inception_v2_coco_2018_01_28.pb”
config: “faster_rcnn_inception_v2_coco_2018_01_28.pbtxt”
mean: [0, 0, 0]
scale: 1.0
width: 800
height: 600
rgb: true
sample: “object_detection”

caff:

https://github.com/weiliu89/caffe/tree/ssd#models

综合:

http://www.pianshen.com/article/8464200104/

http://www.pianshen.com/article/3342263430/

https://blog.csdn.net/Daker_Huang/article/details/87738935

其余:

https://blog.csdn.net/A_L_A_N/article/details/86424175

https://www.aiuai.cn/aifarm968.html

推荐

https://blog.csdn.net/zziahgf/article/details/89672797

http://www.pianshen.com/article/9895277588/

 

 

 

 

Logo

CSDN联合极客时间,共同打造面向开发者的精品内容学习社区,助力成长!

更多推荐