selectable_ocr 1.0.0
selectable_ocr: ^1.0.0 copied to clipboard
A powerful Flutter widget that lets users select and crop any area of the UI and automatically extracts text using on-device OCR or custom backends.
1.0.0 #
- Initial release of
selectable_ocr. - Interactive rectangular region selection over any child widget.
- 100% on-device OCR powered by Google ML Kit (
OnDeviceOcrEngine) for iOS and Android. - Zero-setup experience with
SelectableOcr(child: ..., onTextExtracted: ...). - Pluggable OCR engine architecture with built-in
HttpOcrEnginefor custom HTTP/Python/Vercel backends. - Visual in-situ loading badge positioned over the selected area while OCR is executing.
- Highly customizable
SelectionStyle(colors, borders, corner radius, badge texts). - Multi-script support (Latin, Devanagari, Japanese, Korean, Chinese).
- Rich
OcrResultdata model providing consolidated text, lines, processing latency, and raw recognition results. - Interactive dual-pane document scanner sample app in
example/.