Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

WebDetection

import type { WebDetection } from "https://googleapis.deno.dev/v1/vision:v1.ts";

Relevant information for the image from the Internet.

interface WebDetection {
bestGuessLabels?: WebLabel[];
fullMatchingImages?: WebImage[];
pagesWithMatchingImages?: WebPage[];
partialMatchingImages?: WebImage[];
visuallySimilarImages?: WebImage[];
webEntities?: WebEntity[];
}

§Properties

§
bestGuessLabels?: WebLabel[]
[src]

The service's best guess as to the topic of the request image. Inferred from similar images on the open web.

§
fullMatchingImages?: WebImage[]
[src]

Fully matching images from the Internet. Can include resized copies of the query image.

§
pagesWithMatchingImages?: WebPage[]
[src]

Web pages containing the matching images from the Internet.

§
partialMatchingImages?: WebImage[]
[src]

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.

§
visuallySimilarImages?: WebImage[]
[src]

The visually similar image results.

§
webEntities?: WebEntity[]
[src]

Deduced entities from similar images on the Internet.