create
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.
Return
A classifier with the desired configuration.
Parameters
activity
The current Activity.
model
The model to use for classification.
device
The device to use for classification.
num Threads
The number of threads to use for classification.