scanFrame method
Decodes a camera frame: a Y plane with a row stride, rotated upright.
Implementation
Future<ScanOutcome> scanFrame(
Uint8List plane,
int width,
int height, {
required int rowStride,
required int rotation,
required bool mirror,
}) => _scan('scanFrame', plane, width, height, (m) {
m
..setProperty('rowStride'.toJS, rowStride.toJS)
..setProperty('rotation'.toJS, rotation.toJS)
..setProperty('mirror'.toJS, mirror.toJS);
});