Class CocoMetadata.Image

  • Enclosing class:
    CocoMetadata

    public static final class CocoMetadata.Image
    extends java.lang.Object
    An image in the coco dataset.
    • Constructor Summary

      Constructors 
      Constructor Description
      Image()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getCocoUrl()
      Returns the url of this image.
      int getHeight()
      Returns the height of this image.
      long getId()
      Returns the id of this image.
      int getWidth()
      Returns the width of this image.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Image

        public Image()
    • Method Detail

      • getId

        public long getId()
        Returns the id of this image.
        Returns:
        the id of this image
      • getCocoUrl

        public java.lang.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