How to Create GroundTruth for Acf

조회 수: 2 (최근 30일)
Thomas Schlierkamp
Thomas Schlierkamp 2019년 7월 22일
댓글: Thomas Schlierkamp 2019년 7월 22일
Hello
I am trying to create a GroundTruth table with picture files locations and bonding boxes for each image.
I am not using image labeler, I have a script to do it.
the problem is that when I try to pass my groundtruth table to trainACFObjectDetector function I get the following error
Error in cell2mat (line 42)
cellclass = class(c{1});
Error in trainACFObjectDetector>parseInputs (line 343)
bboxes = cell2mat(trainingData{:, 2});
Error in trainACFObjectDetector (line 124)
params = parseInputs(trainingData, varargin{:});
Error in myAFCDetector (line 3)
acfDetector = trainACFObjectDetector(GroundLabeledOnes,'NegativeSamplesFactor',2);
I think my formate don't match the formate generated by image labeler application.
attached you can find my generated file
my question is what is the format for table generated by image labeler?
Thanks in advance
Hossam Alzomor
  댓글 수: 1
Thomas Schlierkamp
Thomas Schlierkamp 2019년 7월 22일
Hello,
After Some trials I could do it
temp = props.BoundingBox;
BoxBonds(i,:)=mat2cell(temp,1,4);

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

답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by