pdf_ocr_ondevice 1.2.0 copy "pdf_ocr_ondevice: ^1.2.0" to clipboard
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_ondevice

With Flutter:

 $ flutter pub add pdf_ocr_ondevice

This 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.0

Alternatively, 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';
0
likes
0
points
68
downloads

Publisher

unverified uploader

Weekly Downloads

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 (no per-page network call).

Repository (GitHub)
View/report issues

Topics

#pdf #ocr #text-recognition #on-device #scanned-documents

License

unknown (license)

Dependencies

crypto, dart_pdf_editor, flutter, http, onnxruntime, path_provider, pdf_document

More

Packages that depend on pdf_ocr_ondevice