Package ai.djl.basicdataset.cv
Class CocoMetadata
java.lang.Object
ai.djl.basicdataset.cv.CocoMetadata
A metadata class to represent the structure of annotations in Coco.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classAn annotation applied to an image in the coco dataset.static final classAn annotation category in the coco dataset.static final classAn image in the coco dataset. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns a list of all annotations.Returns a list of all categories.Returns a list of all images.
-
Constructor Details
-
CocoMetadata
public CocoMetadata()
-
-
Method Details
-
getAnnotations
Returns a list of all annotations.- Returns:
- a list of all annotations
-
getCategories
Returns a list of all categories.- Returns:
- a list of all categories
-
getImages
Returns a list of all images.- Returns:
- a list of all images
-