Class EntityAnnotation
Set of detected entity features.
Implements
Inherited Members
Namespace: Google.Apis.Vision.v1p2beta1.Data
Assembly: Google.Apis.Vision.v1p2beta1.dll
Syntax
public class EntityAnnotation : IDirectResponseSchema
Properties
BoundingPoly
Image region to which this entity belongs. Not produced for LABEL_DETECTION
features.
Declaration
[JsonProperty("boundingPoly")]
public virtual BoundingPoly BoundingPoly { get; set; }
Property Value
Type | Description |
---|---|
BoundingPoly |
Confidence
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].
Declaration
[JsonProperty("confidence")]
public virtual float? Confidence { get; set; }
Property Value
Type | Description |
---|---|
float? |
Description
Entity textual description, expressed in its locale
language.
Declaration
[JsonProperty("description")]
public virtual string Description { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Locale
The language code for the locale in which the entity textual description
is expressed.
Declaration
[JsonProperty("locale")]
public virtual string Locale { get; set; }
Property Value
Type | Description |
---|---|
string |
Locations
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.
Declaration
[JsonProperty("locations")]
public virtual IList<LocationInfo> Locations { get; set; }
Property Value
Type | Description |
---|---|
IList<LocationInfo> |
Mid
Opaque entity ID. Some IDs may be available in Google Knowledge Graph Search API.
Declaration
[JsonProperty("mid")]
public virtual string Mid { get; set; }
Property Value
Type | Description |
---|---|
string |
Properties
Some entities may have optional user-supplied Property
(name/value) fields, such a score or string that
qualifies the entity.
Declaration
[JsonProperty("properties")]
public virtual IList<Property> Properties { get; set; }
Property Value
Type | Description |
---|---|
IList<Property> |
Score
Overall score of the result. Range [0, 1].
Declaration
[JsonProperty("score")]
public virtual float? Score { get; set; }
Property Value
Type | Description |
---|---|
float? |
Topicality
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].
Declaration
[JsonProperty("topicality")]
public virtual float? Topicality { get; set; }
Property Value
Type | Description |
---|---|
float? |