8.7 released—WinterCG Compliance Part 1
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