detectBuffer method

Future<List<DocumentResult>?> detectBuffer(
  1. Uint8List bytes,
  2. int width,
  3. int height,
  4. int stride,
  5. int format,
)

Detects documents from the given image bytes.

Implementation

Future<List<DocumentResult>?> detectBuffer(
    Uint8List bytes, int width, int height, int stride, int format) {
  return FlutterDocumentScanSdkPlatform.instance
      .detectBuffer(bytes, width, height, stride, format);
}