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

Result

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

Information about a product.

interface Result {
image?: string;
product?: Product;
score?: number;
}

§Properties

§
image?: string
[src]

The resource name of the image from the product that is the closest match to the query.

§
product?: Product
[src]

The Product.

§
score?: number
[src]

A confidence level on the match, ranging from 0 (no confidence) to 1 (full confidence).