recognize method

void recognize(
  1. RecognizeConfig config,
  2. DocumentReaderCompletion completion
)

Used for proccessing predefined images.

config - scanning configuration.

completion - block to execute after the recognition process finishes.

Implementation

void recognize(RecognizeConfig config, DocumentReaderCompletion completion) {
  _setDocumentReaderCompletion(completion);
  _bridge.invokeMethod("recognize", [config.toJson()]);
}