pdf_ocr_ondevice 1.2.0
pdf_ocr_ondevice: ^1.2.0 copied to clipboard
On-device, downloadable OCR engine for dart_pdf_editor — add a selectable, searchable text layer over scanned PDF pages with a small PP-OCR model that downloads once and runs locally on ONNX Runtime ( [...]
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add pdf_ocr_ondeviceWith Flutter:
$ flutter pub add pdf_ocr_ondeviceThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
pdf_ocr_ondevice: ^1.2.0Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:pdf_ocr_ondevice/pdf_ocr_ondevice.dart';