recognizeByBuffer method
MRZ detection.
bytes
- image buffer.
Returns a List of List<MrzLine>.
Implementation
Future<List<List<MrzLine>>?> recognizeByBuffer(
Uint8List bytes, int width, int height, int stride, int format) async {
if (_recognizer != null) {
List<dynamic> results = await handleThenable(
_recognizer!.recognizeBuffer(bytes, width, height, stride, format));
return _resultWrapper(results);
}
return [];
}