public sealed class EntityAnnotation : IMessage<EntityAnnotation>, IEquatable<EntityAnnotation>, IDeepCloneable<EntityAnnotation>, IBufferMessage, IMessage
Set of detected entity features.
Implements
IMessage<EntityAnnotation>, IEquatable<EntityAnnotation>, IDeepCloneable<EntityAnnotation>, IBufferMessage, IMessageNamespace
Google.Cloud.Vision.V1Assembly
Google.Cloud.Vision.V1.dll
Constructors
EntityAnnotation()
public EntityAnnotation()
EntityAnnotation(EntityAnnotation)
public EntityAnnotation(EntityAnnotation other)
Parameter | |
---|---|
Name | Description |
other | EntityAnnotation |
Properties
BoundingPoly
public BoundingPoly BoundingPoly { get; set; }
Image region to which this entity belongs. Not produced
for LABEL_DETECTION
features.
Property Value | |
---|---|
Type | Description |
BoundingPoly |
Confidence
[Obsolete]
public float Confidence { get; set; }
Deprecated. Use score
instead.
The accuracy of the entity detection in an image.
For example, for an image in which the "Eiffel Tower" entity is detected,
this field represents the confidence that there is a tower in the query
image. Range [0, 1].
Property Value | |
---|---|
Type | Description |
Single |
Description
public string Description { get; set; }
Entity textual description, expressed in its locale
language.
Property Value | |
---|---|
Type | Description |
String |
Locale
public string Locale { get; set; }
The language code for the locale in which the entity textual
description
is expressed.
Property Value | |
---|---|
Type | Description |
String |
Locations
public RepeatedField<LocationInfo> Locations { get; }
The location information for the detected entity. Multiple
LocationInfo
elements can be present because one location may
indicate the location of the scene in the image, and another location
may indicate the location of the place where the image was taken.
Location information is usually present for landmarks.
Property Value | |
---|---|
Type | Description |
RepeatedField<LocationInfo> |
Mid
public string Mid { get; set; }
Opaque entity ID. Some IDs may be available in Google Knowledge Graph Search API.
Property Value | |
---|---|
Type | Description |
String |
Properties
public RepeatedField<Property> Properties { get; }
Some entities may have optional user-supplied Property
(name/value)
fields, such a score or string that qualifies the entity.
Property Value | |
---|---|
Type | Description |
RepeatedField<Property> |
Score
public float Score { get; set; }
Overall score of the result. Range [0, 1].
Property Value | |
---|---|
Type | Description |
Single |
Topicality
public float Topicality { get; set; }
The relevancy of the ICA (Image Content Annotation) label to the image. For example, the relevancy of "tower" is likely higher to an image containing the detected "Eiffel Tower" than to an image containing a detected distant towering building, even though the confidence that there is a tower in each image may be the same. Range [0, 1].
Property Value | |
---|---|
Type | Description |
Single |