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

GoogleCloudVisionV1p2beta1TextAnnotationDetectedLanguage

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

Detected language for a structural component.

interface GoogleCloudVisionV1p2beta1TextAnnotationDetectedLanguage {
confidence?: number;
languageCode?: string;
}

§Properties

§
confidence?: number
[src]

Confidence of detected language. Range [0, 1].

§
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.