Data Labeling v1beta1 API - Class Annotation (2.0.0-beta05)

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

Reference documentation and code samples for the Data Labeling v1beta1 API class Annotation.

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
Name Description
other Annotation

Properties

AnnotationMetadata

public AnnotationMetadata AnnotationMetadata { get; set; }

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

Property Value
Type Description
AnnotationMetadata

AnnotationSentiment

public AnnotationSentiment AnnotationSentiment { get; set; }

Output only. Sentiment for this annotation.

Property Value
Type Description
AnnotationSentiment

AnnotationSource

public AnnotationSource AnnotationSource { get; set; }

Output only. The source of the annotation.

Property Value
Type Description
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
Type Description
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
Type Description
string