paper_scanner_platform_interface library
Platform interface for the paper_scanner federated plugin.
Consumers normally depend on the app-facing paper_scanner package rather
than this one directly. Alternate platform implementations import it to
extend PaperScannerPlatform.
Classes
- DetectedQuad
-
The result of a detection request: a Quad plus a
0.0 .. 1.0confidence score reported by the native detector. - FrameData
-
A single, already-downscaled preview frame handed to
detectInFrame-style realtime detection. - MethodChannelPaperScanner
- Default PaperScannerPlatform implementation backed by a MethodChannel.
- PaperScannerPlatform
-
The interface every platform implementation of
paper_scannerextends. - Quad
- Four normalized corner points describing a document outline.
- ScanPoint
- A normalized 2D point.
Enums
- FrameFormat
- The pixel format of a FrameData buffer streamed from the camera preview.
- ScanFilter
- Enhancement filters applied to a captured page.