Too Many input arguments
1 view (last 30 days)
Show older comments
in this code :
load('handFrontalClosedSession.mat');
imDir = fullfile ('/Users/aZahran/Desktop/TrainingSet');
addpath('/Users/aZahran/Desktop/TrainingSet');
negatives = fullfile ('/Users/aZahran/Desktop/negativeSet');
trainCascadeObjectDetector('stopSignDetector.xml',positiveInstances,negatives);
I changed some stuff in both folders, TrainingSet and negative Set, but the code was the same and it started throwing this exception, I reduced the data back to roughly their original sizes but not the same data, couldn't recognise the old ones from the new ones, but I think it has nothing to do with the data, any help would be appreciated the exception :
Error using trainCascadeObjectDetector (line 245)
Too many input arguments.
Error in Untitled (line 5)
trainCascadeObjectDetector('HandDetectorHaar.xml',positiveInstances,negatives,'TruePositiveRate',0.995,'FeatureType','Haar','NumCascadeStages',14);
3 Comments
Dima Lisin
on 11 Mar 2015
Hi Ahmed,
Your code doesn't seem to match the line that the error refers to. Can you please post the actual code that is causing the error?
Answers (0)
See Also
Categories
Find more on Computer Vision Toolbox in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!