Error using trainCasca​deObjectDe​tector function

10 views (last 30 days)
Hello ,
i get the follwoing error when trying to use trainCascadeObjectDetector function
Error using trainCascadeObjectDetector>getTotalNumInstances (line 684)
imageFilename field for image number 1 must be a non-empty char vector
Error in trainCascadeObjectDetector>populateTrainCascadeParams (line 368)
totalPosInstances = getTotalNumInstances(filenameParams.positiveInstances);
Error in trainCascadeObjectDetector (line 177)
featureParams, totalPosInstances] = populateTrainCascadeParams(parser);
Error in myCascadeObjectDetector (line 19)
trainCascadeObjectDetector('oneDetector.xml',positiveInstances, negativeFolder,'FalseAlarmRate',0.1,'NumCascadeStages',5);
How to overcome this problem?
Best Regards
Hossam Alzomor

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!