Class CocoMetadata.Image

java.lang.Object
ai.djl.basicdataset.cv.CocoMetadata.Image
Enclosing class:
CocoMetadata

public static final class CocoMetadata.Image extends Object
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

      public String 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