Jump to top

MLImageLabel

interface

Represents an image label return from imageLabelerProcessImage() and cloudImageLabelerProcessImage().

Properties

confidence

</>

Gets overall confidence of the result.

confidence: number;

entityId

</>

Returns an opaque entity ID. IDs are available in Google Knowledge Graph Search API.

entityId: string;

text

</>

Returns a detected label from the given image. The label returned here is in English only.

text: string;