EntityAnnotation class
Set of detected labels
- Annotations
-
- @JsonSerializable()
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
finalinherited
- description → String
-
Entity textual description, expressed in its locale language.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- isLocalized → bool
-
If true, indicates that this annotation refers to a localized region (% of
width or height) of the image.
finalinherited
- locale → String?
-
The language code for the locale in which the entity textual description
is expressed.
final
-
locationInfo
→ List<
LocationInfo> ? -
Image region to which this entity belongs. Not produced for
LABEL_DETECTION features.
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.
no setterinherited
- score → double?
-
Score of the result. Range [0, 1].
finalinherited
- topicality → double?
-
Entity textual description, expressed in its locale language.
Score of the result. Range [0, 1].
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.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited