Class Annotation (2.0.0-beta01)

public sealed class Annotation : IMessage<Annotation>, IEquatable<Annotation>, IDeepCloneable<Annotation>, IBufferMessage, IMessage

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.

Inheritance

Object > Annotation

Namespace

Google.Cloud.DataLabeling.V1Beta1

Assembly

Google.Cloud.DataLabeling.V1Beta1.dll

Constructors

Annotation()

public Annotation()

Annotation(Annotation)

public Annotation(Annotation other)
Parameter
NameDescription
otherAnnotation

Properties

AnnotationMetadata

public AnnotationMetadata AnnotationMetadata { get; set; }

Output only. Annotation metadata, including information like votes for labels.

Property Value
TypeDescription
AnnotationMetadata

AnnotationSentiment

public AnnotationSentiment AnnotationSentiment { get; set; }

Output only. Sentiment for this annotation.

Property Value
TypeDescription
AnnotationSentiment

AnnotationSource

public AnnotationSource AnnotationSource { get; set; }

Output only. The source of the annotation.

Property Value
TypeDescription
AnnotationSource

AnnotationValue

public AnnotationValue AnnotationValue { get; set; }

Output only. This is the actual annotation value, e.g classification, bounding box values are stored here.

Property Value
TypeDescription
AnnotationValue

Name

public string Name { get; set; }

Output only. Unique name of this annotation, format is:

projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/{annotated_dataset}/examples/{example_id}/annotations/{annotation_id}

Property Value
TypeDescription
String