Text Detection Classifier
A classifier specialized to label images using TensorFlow Lite.
Types
Link copied to clipboard
An immutable result returned by a Classifier describing what was recognized.
Functions
Link copied to clipboard
open fun create( activity: Activity, model: TextDetectionClassifier.Model, device: TextDetectionClassifier.Device, numThreads: Int, textCaptureConfig: TextCaptureConfig, KEY: String): TextDetectionClassifier
Content copied to clipboard
Creates a classifier with the provided configuration.
Link copied to clipboard
open fun recognizeImage(bitmap: Bitmap, sensorOrientation: Int): ArrayList<TextDetectionClassifier.Recognition>
Content copied to clipboard
Runs inference and returns the classification results.