How to export image labels from gTruth.mat and PixelLabelData to jpeg images and json annnotationns?

9 views (last 30 days)
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!

Answers (2)

Lithin Chandran
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:

cui,xingxing
cui,xingxing on 26 Aug 2021
Edited: cui,xingxing on 26 Aug 2021
Import images and COCO annotation json file to Matlab, refer to cocoAPI-matlab

Community Treasure Hunt

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

Start Hunting!