Class LocalizedObjectAnnotation (2.7.3)

LocalizedObjectAnnotation(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Set of detected objects with bounding boxes.

Attributes

NameDescription
mid str
Object ID that should align with EntityAnnotation mid.
language_code str
The BCP-47 language code, such as "en-US" or "sr-Latn". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
name str
Object name, expressed in its language_code language.
score float
Score of the result. Range [0, 1].
bounding_poly google.cloud.vision_v1.types.BoundingPoly
Image region to which this object belongs. This must be populated.