trainCasca​deObjectDe​tector Matlab error

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 件)

カテゴリ

ヘルプ センター および File ExchangeComputer Vision Toolbox についてさらに検索

質問済み:

2018 年 2 月 23 日

Community Treasure Hunt

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

Start Hunting!

Translated by