groundTruthFromCOCO
Description
converts the COCO-formatted JSON file gTruth
= groundTruthFromCOCO(pathToJSON
,pathToImages
)pathToJSON
and the image files in
the folder pathToImages
into a ground truth object,
gTruth
.
You can use this function to convert data stored in the COCO JSON format into a ground truth object, and then use the ground truth object to create a datastore for training deep learning models for semantic segmentation, object detection, and instance segmentation tasks.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2025a