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 件のコメント

Anand
Anand 2013 年 12 月 24 日
Can you describe what lead to this error?
Dima Lisin
Dima Lisin 2013 年 12 月 24 日
Please make sure that you have the Computer Vision System Toolbox installed.

サインインしてコメントする。

回答 (1 件)

adam AHMED
adam AHMED 2015 年 3 月 31 日

0 投票

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