recognizeFile method
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);
}