train Cascade Object Detector, vision.Cas​cadeObject​Detector

dear friends.. pleasa help me to solve this problem..
??? Undefined function or method 'trainCascadeObjectDetector' for input arguments of type 'struct'.
Error in ==> CascadeTrainGUI>trainDetector at 1965 trainCascadeObjectDetector([CTS.SessionName '.xml'], ...

댓글 수: 2

Can you describe what lead to this error?
Please make sure that you have the Computer Vision System Toolbox installed.

댓글을 달려면 로그인하십시오.

답변 (1개)

adam AHMED
adam AHMED 2015년 3월 31일
I think you're using training image labeler to label you positive images, so instead of using the struct directly split only the information that belong to the bath and the ROIs . you can try this
load('LabelingSession.mat');
data = labelingSession.ImageSet.ImageStruct;
trainCascadeObjectDetector('yourfile.xml',data,negativeFolder,'FalseAlarmRate',0.5,'NumCascadeStages',25, 'FeatureType','Haar','ObjectTrainingSize',[20 20]);
Hope it helps . greetings

질문:

2013년 12월 24일

답변:

2015년 3월 31일

Community Treasure Hunt

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

Start Hunting!

Translated by