recognizeByFile method
Do OCR by file. Returns a List<List<MrzLine>> containing the OCR results.
Implementation
@override
Future<List<List<MrzLine>>?> recognizeByFile(String filename) async {
  List<dynamic>? results =
      await methodChannel.invokeMethod('recognizeByFile', {
    'filename': filename,
  });
  if (results == null || results.isEmpty) return [];
  return _resultWrapper(results);
}