selectable_ocr 1.0.0 copy "selectable_ocr: ^1.0.0" to clipboard
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 HttpOcrEngine for 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 OcrResult data model providing consolidated text, lines, processing latency, and raw recognition results.
  • Interactive dual-pane document scanner sample app in example/.
4
likes
160
points
--
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

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.

Homepage
Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter, google_mlkit_text_recognition, http, path_provider

More

Packages that depend on selectable_ocr