trainCasca​deObjectDe​tector Matlab error

6 次查看(过去 30 天)
I am working on matlab to do object detection in images.
I have used the LabelImage toolbox to generate the positive images. The negative images are generated as crops from the rest of each image. When I run the code below I have this error.
load('positives.mat');
trainCascadeObjectDetector('trainingHaar.xml',positives, 'Negatives/', ...
'NumCascadeStages', 5, 'FeatureType', 'Haar');
Error reading instance 101 from image 2, bounding box possibly out of image bounds.

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Computer Vision Toolbox 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by