public class CocoMetadata
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
CocoMetadata.Annotation
An annotation applied to an image in the coco dataset.
|
static class |
CocoMetadata.Category
An annotation category in the coco dataset.
|
static class |
CocoMetadata.Image
An image in the coco dataset.
|
static class |
CocoMetadata.RectangleDeserializer
A
JsonDeserializer for the Rectangle class. |
| Modifier and Type | Field and Description |
|---|---|
static com.google.gson.Gson |
GSON |
| Constructor and Description |
|---|
CocoMetadata() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<CocoMetadata.Annotation> |
getAnnotations()
Returns a list of all annotations.
|
java.util.List<CocoMetadata.Category> |
getCategories()
Returns a list of all categories.
|
java.util.List<CocoMetadata.Image> |
getImages()
Returns a list of all images.
|
public java.util.List<CocoMetadata.Annotation> getAnnotations()
public java.util.List<CocoMetadata.Category> getCategories()
public java.util.List<CocoMetadata.Image> getImages()