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

ObjectAnnotation

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

Prediction for what the object in the bounding box is.

interface ObjectAnnotation {
languageCode?: string;
mid?: string;
name?: string;
score?: number;
}

§Properties

§
languageCode?: string
[src]

The BCP-47 language code, such as "en-US" or "sr-Latn". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.

§
mid?: string
[src]

Object ID that should align with EntityAnnotation mid.

§
name?: string
[src]

Object name, expressed in its language_code language.

§
score?: number
[src]

Score of the result. Range [0, 1].