Hi,
I have a set of labeled images using the image labeler app. I have exported using the builtin function to gndTruth file.
I have the following code:
load('gndTruth.mat');positiveInstances = gndTruth(:,2:1);imDir = fullfile('positveImgDir');addpath(imDir);negativeFolder = fullfile('NegativeImgDir');negativeImages = imageDatastore(negativeFolder);trainCascadeObjectDetector('bluesDetector.xml',positiveInstances, ... negativeFolder,'FalseAlarmRate',0.1,'NumCascadeStages',5);
I have no idea why it is causing error.
Best Answer