recognizeFile method

Future<List<List<OcrLine>>?> recognizeFile(
  1. String file
)

MRZ detection. file - path to the file. Returns a List of List<OcrLine>.

Implementation

Future<List<List<OcrLine>>?> recognizeFile(String file) async {
  CapturedResult capturedResult =
      await handleThenable(_cvr!.capture(file, modelName));

  return await _resultWrapper(capturedResult.items);
}