Class Annotation (1.6.2)

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 google.cloud.datalabeling_v1beta1.types.AnnotationSource
Output only. The source of the annotation.
annotation_value google.cloud.datalabeling_v1beta1.types.AnnotationValue
Output only. This is the actual annotation value, e.g classification, bounding box values are stored here.
annotation_metadata google.cloud.datalabeling_v1beta1.types.AnnotationMetadata
Output only. Annotation metadata, including information like votes for labels.
annotation_sentiment google.cloud.datalabeling_v1beta1.types.AnnotationSentiment
Output only. Sentiment for this annotation.

Inheritance

builtins.object > proto.message.Message > Annotation