Class WebDetection (2.3.2)

WebDetection(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Relevant information for the image from the Internet. .. attribute:: web_entities

Deduced entities from similar images on the Internet.

:type: Sequence[google.cloud.vision_v1.types.WebDetection.WebEntity]

Attributes

NameDescription
full_matching_images Sequence[google.cloud.vision_v1.types.WebDetection.WebImage]
Fully matching images from the Internet. Can include resized copies of the query image.
partial_matching_images Sequence[google.cloud.vision_v1.types.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 Sequence[google.cloud.vision_v1.types.WebDetection.WebPage]
Web pages containing the matching images from the Internet.
visually_similar_images Sequence[google.cloud.vision_v1.types.WebDetection.WebImage]
The visually similar image results.
best_guess_labels Sequence[google.cloud.vision_v1.types.WebDetection.WebLabel]
The service's best guess as to the topic of the request image. Inferred from similar images on the open web.

Classes

WebEntity

WebEntity(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Entity deduced from similar images on the Internet. .. attribute:: entity_id

Opaque entity ID.

:type: str

WebImage

WebImage(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Metadata for online images. .. attribute:: url

The result image URL.

:type: str

WebLabel

WebLabel(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Label to provide extra metadata for the web detection. .. attribute:: label

Label for extra metadata.

:type: str

WebPage

WebPage(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Metadata for web pages. .. attribute:: url

The result web page URL.

:type: str