trainCasca​deObjectDe​tector Matlab error

6 views (last 30 days)
ProgramMatlab
ProgramMatlab on 23 Feb 2018
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.

Answers (0)

Categories

Find more on Computer Vision Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!