class Google::Apis::VisionV1::GoogleCloudVisionV1p3beta1LocalizedObjectAnnotation
Set of detected objects with bounding boxes.
Attributes
A bounding polygon for the detected image annotation. Corresponds to the JSON property `boundingPoly` @return [Google::Apis::VisionV1::GoogleCloudVisionV1p3beta1BoundingPoly]
The BCP-47 language code, such as “en-US” or “sr-Latn”. For more information, see www.unicode.org/reports/tr35/#Unicode_locale_identifier. Corresponds to the JSON property `languageCode` @return [String]
Object ID that should align with EntityAnnotation
mid. Corresponds to the JSON property `mid` @return [String]
Object name, expressed in its `language_code` language. Corresponds to the JSON property `name` @return [String]
Score of the result. Range [0, 1]. Corresponds to the JSON property `score` @return [Float]
Public Class Methods
# File lib/google/apis/vision_v1/classes.rb, line 5540 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/vision_v1/classes.rb, line 5545 def update!(**args) @bounding_poly = args[:bounding_poly] if args.key?(:bounding_poly) @language_code = args[:language_code] if args.key?(:language_code) @mid = args[:mid] if args.key?(:mid) @name = args[:name] if args.key?(:name) @score = args[:score] if args.key?(:score) end