Reference documentation and code samples for the Cloud Vision V1 API class Google::Cloud::Vision::V1::WebDetection.
Relevant information for the image from the Internet.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#best_guess_labels
def best_guess_labels() -> ::Array<::Google::Cloud::Vision::V1::WebDetection::WebLabel>
Returns
- (::Array<::Google::Cloud::Vision::V1::WebDetection::WebLabel>) — The service's best guess as to the topic of the request image. Inferred from similar images on the open web.
#best_guess_labels=
def best_guess_labels=(value) -> ::Array<::Google::Cloud::Vision::V1::WebDetection::WebLabel>
Parameter
- value (::Array<::Google::Cloud::Vision::V1::WebDetection::WebLabel>) — The service's best guess as to the topic of the request image. Inferred from similar images on the open web.
Returns
- (::Array<::Google::Cloud::Vision::V1::WebDetection::WebLabel>) — The service's best guess as to the topic of the request image. Inferred from similar images on the open web.
#full_matching_images
def full_matching_images() -> ::Array<::Google::Cloud::Vision::V1::WebDetection::WebImage>
Returns
- (::Array<::Google::Cloud::Vision::V1::WebDetection::WebImage>) — Fully matching images from the Internet. Can include resized copies of the query image.
#full_matching_images=
def full_matching_images=(value) -> ::Array<::Google::Cloud::Vision::V1::WebDetection::WebImage>
Parameter
- value (::Array<::Google::Cloud::Vision::V1::WebDetection::WebImage>) — Fully matching images from the Internet. Can include resized copies of the query image.
Returns
- (::Array<::Google::Cloud::Vision::V1::WebDetection::WebImage>) — Fully matching images from the Internet. Can include resized copies of the query image.
#pages_with_matching_images
def pages_with_matching_images() -> ::Array<::Google::Cloud::Vision::V1::WebDetection::WebPage>
Returns
- (::Array<::Google::Cloud::Vision::V1::WebDetection::WebPage>) — Web pages containing the matching images from the Internet.
#pages_with_matching_images=
def pages_with_matching_images=(value) -> ::Array<::Google::Cloud::Vision::V1::WebDetection::WebPage>
Parameter
- value (::Array<::Google::Cloud::Vision::V1::WebDetection::WebPage>) — Web pages containing the matching images from the Internet.
Returns
- (::Array<::Google::Cloud::Vision::V1::WebDetection::WebPage>) — Web pages containing the matching images from the Internet.
#partial_matching_images
def partial_matching_images() -> ::Array<::Google::Cloud::Vision::V1::WebDetection::WebImage>
Returns
- (::Array<::Google::Cloud::Vision::V1::WebDetection::WebImage>) — 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.
#partial_matching_images=
def partial_matching_images=(value) -> ::Array<::Google::Cloud::Vision::V1::WebDetection::WebImage>
Parameter
- value (::Array<::Google::Cloud::Vision::V1::WebDetection::WebImage>) — 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.
Returns
- (::Array<::Google::Cloud::Vision::V1::WebDetection::WebImage>) — 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.
#visually_similar_images
def visually_similar_images() -> ::Array<::Google::Cloud::Vision::V1::WebDetection::WebImage>
Returns
- (::Array<::Google::Cloud::Vision::V1::WebDetection::WebImage>) — The visually similar image results.
#visually_similar_images=
def visually_similar_images=(value) -> ::Array<::Google::Cloud::Vision::V1::WebDetection::WebImage>
Parameter
- value (::Array<::Google::Cloud::Vision::V1::WebDetection::WebImage>) — The visually similar image results.
Returns
- (::Array<::Google::Cloud::Vision::V1::WebDetection::WebImage>) — The visually similar image results.
#web_entities
def web_entities() -> ::Array<::Google::Cloud::Vision::V1::WebDetection::WebEntity>
Returns
- (::Array<::Google::Cloud::Vision::V1::WebDetection::WebEntity>) — Deduced entities from similar images on the Internet.
#web_entities=
def web_entities=(value) -> ::Array<::Google::Cloud::Vision::V1::WebDetection::WebEntity>
Parameter
- value (::Array<::Google::Cloud::Vision::V1::WebDetection::WebEntity>) — Deduced entities from similar images on the Internet.
Returns
- (::Array<::Google::Cloud::Vision::V1::WebDetection::WebEntity>) — Deduced entities from similar images on the Internet.