main Content

Yolov2ObjectDetector

使用YOLO V2对象检测器检测对象

描述

Yolov2ObjectDetector目的defines the trained YOLO v2 object detector. To detect objects in an image, pass the trained YOLO v2 object detector to the探测目的功能。这YOLO v2 object detector recognizes specific objects in images, based on the training images and ground truth data used with thetrainyolov2objectdetector功能。您也可以使用Yolov2ObjectDetector功能创建Yolov2ObjectDetector来自预磨料的YOLO V2网络的对象。

创建

创建一个Yolov2ObjectDetector通过致电的对象trainyolov2objectdetectorfunction with training data (requires Deep Learning Toolbox™).

探测器= Trainyolov2ObjectDetector(TrainingData,____)

描述

探测or= yolov2objectdetector(network通过使用在输入端指定的预磨光的YOLO V2网络创建YOLO V2对象探测器。

输入网络也可以是来自Onnx™(开放神经网络交换)的导入网络。有关如何从导入的ONNX YOLO V2网络创建YOLO V2对象检测器的更多信息,请参阅Import Pretrained ONNX YOLO v2 Object Detector

探测or= yolov2objectdetector(___,'teversionImagesize',训练除了以前语法中的输入参数之外,还使用名称值对指定培训期间使用的图像大小。

输入参数

展开全部

预先染色的yolo v2网络,指定为aDagnetwork.目的。这Dagnetwork.must have an image input layer, YOLO v2 transform layer that is connected to a YOLO v2 output layer.

用于培训的图像尺寸集那specified as a comma-separated pair consisting of'TrainingImageSize'and am-2矩阵。Each row is of the form [高度width]。这default value is the size of the image input layer of the network.

数据类型:单身的|双倍的|int8|int16|int32|INT64|UINT8|UINT16|UINT32|Uint64

特性

展开全部

分类模型的名称,指定为字符向量或字符串标量。默认情况下,名称设置为第二列的标题TrainingData.表中指定的表格trainyolov2objectdetector功能。创建后,您可以修改此名称Yolov2ObjectDetector目的。

This property is read-only.

训练有素的YOLO V2对象检测网络,指定为aDagnetwork.(深度学习工具箱)目的。该对象存储定义Yolo V2对象检测网络的层。

This property is read-only.

yolo v2对象检测器训练的对象类的名称以查找,指定为字符向量的单元数组。此属性由此设置TrainingData.输入论点trainyolov2objectdetector功能。Specify the class names as part of theTrainingData.桌子。

This property is read-only.

一套锚箱,指定为一个n-2矩阵defining the width and the height ofnanchor boxes. This property is set by the锚盒property of the output layer in the YOLO v2 network.

这anchor boxes are defined when creating the YOLO v2 network by using theyolov2镶嵌功能。或者,如果您创建yolo v2网络层,则通过使用锚框来定义YOLOV2OUTPUTLAYER.功能。

This property is read-only.

用于培训的图像尺寸集那specified as anm-2矩阵那where each row is of the form [高度width]。此属性由此设置训练input argument.

如果训练未在输入中指定,然后此属性设置为训练争论在trainyolov2objectdetector功能。在这种情况下,Yolov2ObjectDetector通过调用来创建对象trainyolov2objectdetector功能。

对象功能

探测 使用YOLO V2对象检测器检测对象

扩展能力

在R2019A引入