class Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p1beta1WebDetection
Relevant information for the image from the Internet.
Attributes
The service's best guess as to the topic of the request image. Inferred from similar images on the open web. Corresponds to the JSON property `bestGuessLabels` @return [Array<Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p1beta1WebDetectionWebLabel>]
Fully matching images from the Internet. Can include resized copies of the query image. Corresponds to the JSON property `fullMatchingImages` @return [Array<Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p1beta1WebDetectionWebImage>]
Web pages containing the matching images from the Internet. Corresponds to the JSON property `pagesWithMatchingImages` @return [Array<Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p1beta1WebDetectionWebPage>]
Partial matching images from the Internet. Those images are similar enough to share some key-point features. For example an original image will likely have partial matching for its crops. Corresponds to the JSON property `partialMatchingImages` @return [Array<Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p1beta1WebDetectionWebImage>]
The visually similar image results. Corresponds to the JSON property `visuallySimilarImages` @return [Array<Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p1beta1WebDetectionWebImage>]
Deduced entities from similar images on the Internet. Corresponds to the JSON property `webEntities` @return [Array<Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p1beta1WebDetectionWebEntity>]
Public Class Methods
# File lib/google/apis/vision_v1p2beta1/classes.rb, line 2423 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/vision_v1p2beta1/classes.rb, line 2428 def update!(**args) @best_guess_labels = args[:best_guess_labels] if args.key?(:best_guess_labels) @full_matching_images = args[:full_matching_images] if args.key?(:full_matching_images) @pages_with_matching_images = args[:pages_with_matching_images] if args.key?(:pages_with_matching_images) @partial_matching_images = args[:partial_matching_images] if args.key?(:partial_matching_images) @visually_similar_images = args[:visually_similar_images] if args.key?(:visually_similar_images) @web_entities = args[:web_entities] if args.key?(:web_entities) end