pdf_ocr 1.0.0 copy "pdf_ocr: ^1.0.0" to clipboard
pdf_ocr: ^1.0.0 copied to clipboard

OCR PDFs in Flutter using Rust.

alt text

pdf_ocr #

A Flutter/Dart plugin for extracting text from PDF files using native Rust-powered OCR for fast and accurate results. Ideal for applications that need to process and analyze PDF documents on mobile and desktop platforms.

Features #

  • Extracts text from PDF files using OCR (Optical Character Recognition)
  • Fast and efficient, powered by Rust native code
  • Simple API for integration into Flutter and Dart projects
  • Cross-platform support

Usage #

Check out the example project.

Add the dependency to your pubspec.yaml:

dependencies:
  pdf_ocr: ^<latest_version>
FilePickerResult? result = await FilePicker.platform.pickFiles();

final content = await PdfOcrClient().extractPdfText(
    result.files.single.path!,
);

Development prerequisites #

To contribute to the development of this package, you will need to set up your development environment as follows:

  • Rust toolchain (for building native code)
  • Platform-specific build tools (see flutter_rust_bridge)
4
likes
130
points
254
downloads

Publisher

verified publisherkadasolutions.ch

Weekly Downloads

OCR PDFs in Flutter using Rust.

Homepage
Repository (GitHub)

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

flutter, flutter_rust_bridge, plugin_platform_interface

More

Packages that depend on pdf_ocr