class Google::Apis::VisionV1p2beta1::GroupedResult
Information about the products similar to a single product in a query image.
Attributes
bounding_poly[RW]
A bounding polygon for the detected image annotation. Corresponds to the JSON property `boundingPoly` @return [Google::Apis::VisionV1p2beta1::BoundingPoly]
object_annotations[RW]
List of generic predictions for the object in the bounding box. Corresponds to the JSON property `objectAnnotations` @return [Array<Google::Apis::VisionV1p2beta1::ObjectAnnotation>]
results[RW]
List of results, one for each product match. Corresponds to the JSON property `results` @return [Array<Google::Apis::VisionV1p2beta1::Result>]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/vision_v1p2beta1/classes.rb, line 8677 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/vision_v1p2beta1/classes.rb, line 8682 def update!(**args) @bounding_poly = args[:bounding_poly] if args.key?(:bounding_poly) @object_annotations = args[:object_annotations] if args.key?(:object_annotations) @results = args[:results] if args.key?(:results) end