Text Detection Classifier Quantized
This TensorFlow Lite classifier works with the quantized EfficientNet model.
Constructors
Link copied to clipboard
open fun TextDetectionClassifierQuantized( activity: Activity, device: TextDetectionClassifier.Device, numThreads: Int, textCaptureConfig: TextCaptureConfig, KEY: String)
Content copied to clipboard
Initializes a
ClassifierQuantizedMobileNet
.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.