class Google::Apis::VisionV1::GoogleCloudVisionV1p1beta1CropHintsAnnotation

Set of crop hints that are used to generate new crops when serving images.

Attributes

crop_hints[RW]

Crop hint results. Corresponds to the JSON property `cropHints` @return [Array<Google::Apis::VisionV1::GoogleCloudVisionV1p1beta1CropHint>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/vision_v1/classes.rb, line 1626
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_v1/classes.rb, line 1631
def update!(**args)
  @crop_hints = args[:crop_hints] if args.key?(:crop_hints)
end