export_datasetutil function for this, setting the
export_formatparameter to one of the following:
SegmentsDatasetto loop through the samples and labels, and visualize or process them in any way you please:
labelsetentry contains the labelset's name and description:
attributesfield contains all info about the labeled objects. Its contents depend on the labeling type (segmentation or bounding boxes) and are described in more detail here.