detectBytes abstract method
Detects and processes a raw byte buffer.
bytes — Raw image bytes (grayscale or RGBA depending on detector).
width, height — Image dimensions.
mode — The scan mode to apply.
Returns a DetectionResult containing raw detection data.
Implementation
Future<DetectionResult> detectBytes(
Uint8List bytes,
int width,
int height,
ScanMode mode,
);