8.8 released—CSS Media Query support, SF Symbols and much more...
Learn more

View on GitHub

@nativescript/mlkit-image-labeling

A plugin that is used with @nativescript/mlkit-core to enable Image Labeling and provide the ImageLabelingResult type for the image labeling event data.

Contents

Installation

cli
npm install @nativescript/mlkit-image-labeling

Use @nativescript/mlkit-image-labeling

For an example, read Use @nativescript/mlkit-core and Image Labeling

API

ImageLabelingResult

The Image Labeling event data type.

ts
interface ImageLabelingResult {
  text?: string
  confidence?: number
  index?: number
}

License

Apache License Version 2.0