how to export ground truth labeler using image labeler app into table?
Show older comments
When i run the example ('deeplearning_shared/DeepLearningFasterRCNNObjectDetectionExam*ple'), and load the 'fasterRCNNVehicleTrainingData.mat', it generates 'vehicleTrainingData with value 295*2 table.
When i label my own images using the ImagerLabeler app and export the file, it comes in groud Truth; gTruth with value 1*1 groundTruth...
How do I make it generate or load the data same as the example into table??.
What do i have to do in order to generate the same output value when loading data from image Labeler Ap
Answers (1)
Kazuya Machida
on 8 Jan 2019
0 votes
Hi,
You can use "objectDetectorTrainingData" function to convert gTruth to table data after exporting gTruth from image labeler app. Could you refer to the document if you want to know how to use it (>>doc objectDetectorTrainingData).
3 Comments
Vanessa Wüthrich
on 26 Nov 2019
Hello,
If I use this method:
trainingData = objectDetectorTrainingData(gTruth,'SamplingFactor',2);
I always get this error:
"Error using objectDetectorTrainingData (line 156)
The input groundTruth object/s do not contain any valid object detector training data."
I have done the labeling with Matlabs Image Labeler and I exported the gTruth via "Export Labels" -> "to workspace".
What can I do?
Thank you very much!
Kazuya Machida
on 28 Nov 2019
Hi Vanessa,
What type of label did you use in your labeling? Rectangle or Pixel label?objectDetectorTrainingData is used for "object detection". So, this function requires rectangle labels. If there are no rectangle labels in your groundTruth object, you may see this types of errors.
Matpar
on 8 Apr 2020
hi guys, try exporting this as a table in the same export dropdown button
Categories
Find more on Ground Truth Labeling in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!