使用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
通过致电的对象trainyolov2objectdetector
function with training data (requires Deep Learning Toolbox™).
探测器= Trainyolov2ObjectDetector(TrainingData,____)
通过使用在输入端指定的预磨光的YOLO V2网络创建YOLO V2对象探测器。探测or
= yolov2objectdetector(network
)
输入网络也可以是来自Onnx™(开放神经网络交换)的导入网络。有关如何从导入的ONNX YOLO V2网络创建YOLO V2对象检测器的更多信息,请参阅Import Pretrained ONNX YOLO v2 Object Detector。
除了以前语法中的输入参数之外,还使用名称值对指定培训期间使用的图像大小。探测or
= yolov2objectdetector(___,'teversionImagesize',训练
)
探测 |
使用YOLO V2对象检测器检测对象 |