Getting error while training my cascade classifier ?
Ältere Kommentare anzeigen
I am trying to build my cascade classifier that can detect an area of image basically i want to get eyes from a face image. For this i am using image labeling. i have both positive and negative folder with more than 10 images Error: The total number of samples (both positive and negative together) must be greater than 10. You should add more positive samples, or increase 'NegativeSamplesFactor', or both.
Error in trainCascadeObjectDetector (line 173) featureParams, totalPosInstances] = populateTrainCascadeParams(parser);
Error in cascade (line 28) trainCascadeObjectDetector('eyes.xml',positiveInstances, ...
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Computer Vision Toolbox finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!