anpr_scanner_flutter library

Classes

AnprScannerWidget
A self-contained, drop-in license plate scanner widget.
CameraImageConverterOptimized
High-performance CameraImageimg.Image converter.
CapturedFrame
A camera frame that has passed all quality gates, ready for OCR.
CaptureFlashOverlay
Brief white flash shown at the moment of frame capture. Fades from 60% → 0% opacity over 300ms, then fires onComplete.
CaptureQualityConfig
Quality gate thresholds for the real-time stability tracker.
CharDetection
A single character detection from the OCR model.
DetectionBox
A detected bounding box from the detection model.
DetectionOnlyProcessor
Processes live camera frames through the detection model only (OCR skipped).
DetectionOverlay
Animated overlay that draws a bounding box on the camera preview.
FrozenFrameView
Displays a captured img.Image frame with an optional animated bounding box overlay.
InferenceMetrics
Per-stage timing breakdown for a single recognition run.
LetterboxResult
Internal helper for letterbox transform parameters.
LicensePlateDetector
Two-stage TFLite license plate recognition engine.
LicensePlateResult
The final result of a license plate recognition run.
ModelLoadingOverlay
Full-screen loading overlay shown while TFLite models are initialising.
ModelServiceManagerOptimized
Singleton that lazy-loads and caches LicensePlateDetector instances.
OptimizedLoadingStatus
Snapshot of the current loading state for a detector.
PreviewCoordinateMapper
Maps bounding box coordinates from processed-image space to camera-preview display space, accounting for BoxFit.cover cropping.
RealtimeConfig
Centralised tuning parameters for real-time license plate processing.
RecognizingOverlay
Semi-transparent overlay with spinner shown while OCR runs on the frozen frame.
ScanningLineOverlay
Animated horizontal scanning line — purely cosmetic, signals active scanning.
ScanResultCard
Slide-up card showing the final OCR result.

Enums

DelegateType
Hardware acceleration delegate for TFLite inference.
OptimizedLoadingState
ScanPhase