Reference documentation and code samples for the Cloud Vision V1 Client class WebDetection.
Relevant information for the image from the Internet.
Generated from protobuf message google.cloud.vision.v1.WebDetection
Namespace
Google \ Cloud \ Vision \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ web_entities
↳ full_matching_images
array< WebDetection\WebImage
>
Fully matching images from the Internet. Can include resized copies of the query image.
↳ partial_matching_images
array< 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.
↳ pages_with_matching_images
↳ visually_similar_images
↳ best_guess_labels
array< WebDetection\WebLabel
>
The service's best guess as to the topic of the request image. Inferred from similar images on the open web.
getWebEntities
Deduced entities from similar images on the Internet.
setWebEntities
Deduced entities from similar images on the Internet.
$this
getFullMatchingImages
Fully matching images from the Internet.
Can include resized copies of the query image.
setFullMatchingImages
Fully matching images from the Internet.
Can include resized copies of the query image.
$this
getPartialMatchingImages
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.
setPartialMatchingImages
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.
$this
getPagesWithMatchingImages
Web pages containing the matching images from the Internet.
setPagesWithMatchingImages
Web pages containing the matching images from the Internet.
$this
getVisuallySimilarImages
The visually similar image results.
setVisuallySimilarImages
The visually similar image results.
$this
getBestGuessLabels
The service's best guess as to the topic of the request image.
Inferred from similar images on the open web.
setBestGuessLabels
The service's best guess as to the topic of the request image.
Inferred from similar images on the open web.
$this

