public static final class CocoMetadata.Annotation
extends java.lang.Object
| Constructor and Description |
|---|
Annotation() |
| Modifier and Type | Method and Description |
|---|---|
double |
getArea()
Returns the area of this annotation.
|
ai.djl.modality.cv.output.Rectangle |
getBoundingBox()
Returns the bounding box of this annotation.
|
long |
getCategoryId()
Returns the category id of this annotation.
|
long |
getId()
Returns the id of this annotation.
|
long |
getImageId()
Returns the id of the image this annotation applies to.
|
public long getImageId()
public long getId()
public ai.djl.modality.cv.output.Rectangle getBoundingBox()
public long getCategoryId()
public double getArea()