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

GoogleCloudVisionV1p2beta1EntityAnnotation

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

Set of detected entity features.

interface GoogleCloudVisionV1p2beta1EntityAnnotation {
confidence?: number;
description?: string;
locale?: string;
mid?: string;
score?: number;
topicality?: number;
}

§Properties

§

Image region to which this entity belongs. Not produced for LABEL_DETECTION features.

§
confidence?: number
[src]

Deprecated. Use score instead. The accuracy of the entity detection in an image. For example, for an image in which the "Eiffel Tower" entity is detected, this field represents the confidence that there is a tower in the query image. Range [0, 1].

§
description?: string
[src]

Entity textual description, expressed in its locale language.

§
locale?: string
[src]

The language code for the locale in which the entity textual description is expressed.

§

The location information for the detected entity. Multiple LocationInfo elements can be present because one location may indicate the location of the scene in the image, and another location may indicate the location of the place where the image was taken. Location information is usually present for landmarks.

§
mid?: string
[src]

Opaque entity ID. Some IDs may be available in Google Knowledge Graph Search API.

§

Some entities may have optional user-supplied Property (name/value) fields, such a score or string that qualifies the entity.

§
score?: number
[src]

Overall score of the result. Range [0, 1].

§
topicality?: number
[src]

The relevancy of the ICA (Image Content Annotation) label to the image. For example, the relevancy of "tower" is likely higher to an image containing the detected "Eiffel Tower" than to an image containing a detected distant towering building, even though the confidence that there is a tower in each image may be the same. Range [0, 1].