Package | Description |
---|---|
org.openimaj.ml.annotation |
Modifier and Type | Method and Description |
---|---|
static <OBJECT,ANNOTATION> |
AnnotatedObject.create(OBJECT object,
ANNOTATION annotation)
Create an
AnnotatedObject with the given object and its
annotation. |
static <OBJECT,ANNOTATION> |
AnnotatedObject.create(OBJECT object,
Collection<ANNOTATION> annotations)
Create an
AnnotatedObject with the given object and its
annotations. |
Modifier and Type | Method and Description |
---|---|
static <OBJECT,ANNOTATION> |
AnnotatedObject.createList(GroupedDataset<ANNOTATION,? extends ListDataset<OBJECT>,OBJECT> dataset)
Convert a grouped dataset to a list of annotated objects.
|
static <OBJECT,ANNOTATION> |
AnnotatedObject.createList(OBJECT[] objs,
ANNOTATION[] anns)
Convert parallel arrays of objects and annotations to a list of
AnnotatedObject . |
static <OBJECT,ANNOTATION> |
AnnotatedObject.createList(OBJECT[] objs,
ANNOTATION[][] anns)
Convert parallel arrays of objects and annotations to a list of
AnnotatedObject . |