detect abstract method
Detects and processes a frame from a camera image input.
inputImage — Platform-specific camera image (e.g., InputImage from ML Kit).
mode — The scan mode to apply.
roi — Optional region of interest (normalized 0.0–1.0 coordinates).
Returns a DetectionResult containing raw detection data.
Implementation
Future<DetectionResult> detect(
dynamic inputImage,
ScanMode mode, {
Rect? roi,
});