pdf_ocr_ondevice 1.2.2
pdf_ocr_ondevice: ^1.2.2 copied to clipboard
On-device OCR engine for dart_pdf_editor that adds a selectable, searchable text layer to scanned PDFs with a downloadable PP-OCR ONNX model.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add pdf_ocr_ondeviceThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
pdf_ocr_ondevice: ^1.2.2Alternatively, your editor might support 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';