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_v1p3beta1.types.WebDetection.WebEntity]
Attributes | |
---|---|
Name | Description |
full_matching_images |
Sequence[google.cloud.vision_v1p3beta1.types.WebDetection.WebImage]
Fully matching images from the Internet. Can include resized copies of the query image. |
partial_matching_images |
Sequence[google.cloud.vision_v1p3beta1.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_v1p3beta1.types.WebDetection.WebPage]
Web pages containing the matching images from the Internet. |
visually_similar_images |
Sequence[google.cloud.vision_v1p3beta1.types.WebDetection.WebImage]
The visually similar image results. |
best_guess_labels |
Sequence[google.cloud.vision_v1p3beta1.types.WebDetection.WebLabel]
Best guess text labels for the request image. |
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