EntityAnnotation class

Set of detected labels

Annotations

Constructors

EntityAnnotation({String? mid, String? locale, required String description, double? score, double? topicality, BoundingPoly? boundingPoly, List<LocationInfo>? locationInfo, List<Property>? properties})
EntityAnnotation.fromJson(Map<String, dynamic> json)
factory

Properties

boundingPoly → BoundingPoly?
Image region to which this entity belongs. Not produced for LABEL_DETECTION features.
final
description String
Entity textual description, expressed in its locale language.
final
hashCode int
The hash code for this object.
read-onlyinherited
locale String?
The language code for the locale in which the entity textual description is expressed.
final
locationInfo List<LocationInfo>?
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.
final
mid String?
Opaque entity ID. Some IDs may be available in Google Knowledge Graph Search API.
final
properties List<Property>?
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
score double?
Score of the result. Range [0, 1].
final
topicality double?
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.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited