class WebDetection extends Message

Relevant information for the image from the Internet.

Protobuf type Google\Cloud\Vision\V1\WebDetection

Methods

__construct()

No description

RepeatedField
getWebEntities()

Deduced entities from similar images on the Internet.

setWebEntities(array|RepeatedField $var)

Deduced entities from similar images on the Internet.

RepeatedField
getFullMatchingImages()

Fully matching images from the Internet.

setFullMatchingImages(array|RepeatedField $var)

Fully matching images from the Internet.

RepeatedField
getPartialMatchingImages()

Partial matching images from the Internet.

setPartialMatchingImages(array|RepeatedField $var)

Partial matching images from the Internet.

RepeatedField
getPagesWithMatchingImages()

Web pages containing the matching images from the Internet.

setPagesWithMatchingImages(array|RepeatedField $var)

Web pages containing the matching images from the Internet.

Details

at line 47
__construct()

at line 58
RepeatedField getWebEntities()

Deduced entities from similar images on the Internet.

Generated from protobuf field repeated .google.cloud.vision.v1.WebDetection.WebEntity web_entities = 1;

Return Value

RepeatedField

at line 69
setWebEntities(array|RepeatedField $var)

Deduced entities from similar images on the Internet.

Generated from protobuf field repeated .google.cloud.vision.v1.WebDetection.WebEntity web_entities = 1;

Parameters

array|RepeatedField $var

at line 83
RepeatedField getFullMatchingImages()

Fully matching images from the Internet.

They're definite neardups and most often a copy of the query image with merely a size change.

Generated from protobuf field repeated .google.cloud.vision.v1.WebDetection.WebImage full_matching_images = 2;

Return Value

RepeatedField

at line 96
setFullMatchingImages(array|RepeatedField $var)

Fully matching images from the Internet.

They're definite neardups and most often a copy of the query image with merely a size change.

Generated from protobuf field repeated .google.cloud.vision.v1.WebDetection.WebImage full_matching_images = 2;

Parameters

array|RepeatedField $var

at line 110
RepeatedField 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.

Generated from protobuf field repeated .google.cloud.vision.v1.WebDetection.WebImage partial_matching_images = 3;

Return Value

RepeatedField

at line 123
setPartialMatchingImages(array|RepeatedField $var)

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.

Generated from protobuf field repeated .google.cloud.vision.v1.WebDetection.WebImage partial_matching_images = 3;

Parameters

array|RepeatedField $var

at line 135
RepeatedField getPagesWithMatchingImages()

Web pages containing the matching images from the Internet.

Generated from protobuf field repeated .google.cloud.vision.v1.WebDetection.WebPage pages_with_matching_images = 4;

Return Value

RepeatedField

at line 146
setPagesWithMatchingImages(array|RepeatedField $var)

Web pages containing the matching images from the Internet.

Generated from protobuf field repeated .google.cloud.vision.v1.WebDetection.WebPage pages_with_matching_images = 4;

Parameters

array|RepeatedField $var