How to Create GroundTruth for Acf

2 Ansichten (letzte 30 Tage)
Thomas Schlierkamp
Thomas Schlierkamp am 22 Jul. 2019
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 Kommentar
Thomas Schlierkamp
Thomas Schlierkamp am 22 Jul. 2019
Hello,
After Some trials I could do it
temp = props.BoundingBox;
BoxBonds(i,:)=mat2cell(temp,1,4);

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by