Class Annotation (1.0.0)

Annotation(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Annotation for Example. Each example may have one or more annotations. For example in image classification problem, each image might have one or more labels. We call labels binded with this image an Annotation.

Attributes

NameDescription
name str
Output only. Unique name of this annotation, format is: projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/{annotated_dataset}/examples/{example_id}/annotations/{annotation_id}
annotation_source .annotation.AnnotationSource
Output only. The source of the annotation.
annotation_value .annotation.AnnotationValue
Output only. This is the actual annotation value, e.g classification, bounding box values are stored here.
annotation_metadata .annotation.AnnotationMetadata
Output only. Annotation metadata, including information like votes for labels.
annotation_sentiment .annotation.AnnotationSentiment
Output only. Sentiment for this annotation.