Package ai.djl.basicdataset.cv
Class CocoMetadata.Image
java.lang.Object
ai.djl.basicdataset.cv.CocoMetadata.Image
- Enclosing class:
- CocoMetadata
An image in the coco dataset.
-
Constructor Details
-
Image
public Image()
-
-
Method Details
-
getId
public long getId()Returns the id of this image.- Returns:
- the id of this image
-
getCocoUrl
Returns the url of this image.- Returns:
- the url of this image
-
getHeight
public int getHeight()Returns the height of this image.- Returns:
- the height of this image
-
getWidth
public int getWidth()Returns the width of this image.- Returns:
- the width of this image
-