How to export image labels from gTruth.mat and PixelLabelData to jpeg images and json annnotationns?
9 views (last 30 days)
Show older comments
Hello!
In order to use the images I have labeled on the matlab image labeler app for other tasks, I am needing to get jpeg images and json annotation files from the gTruth.mat and PixelLabelData files. How do I go about doing this?
Thank you!
0 Comments
Answers (2)
Lithin Chandran
on 17 Dec 2020
Hi,
As per my understanding, you want to export .json file of gTruth from image labeler . You can refer to the link below to convert the generated .mat file to .json file:
0 Comments
cui,xingxing
on 26 Aug 2021
Edited: cui,xingxing
on 26 Aug 2021
Hi, you can refer to Export Ground Truth Object to Custom and COCO JSON Files
Import images and COCO annotation json file to Matlab, refer to cocoAPI-matlab
0 Comments
See Also
Categories
Find more on JSON Format 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!