create

open fun create(    activity: Activity,     model: TextDetectionClassifier.Model,     device: TextDetectionClassifier.Device,     numThreads: Int,     textCaptureConfig: TextCaptureConfig,     KEY: String): TextDetectionClassifier

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.

numThreads

The number of threads to use for classification.