PdfOcrClient class
A client for extracting text from PDF files using OCR.
This client provides a simple interface for extracting text content from PDF documents using optical character recognition (OCR) technology. The underlying implementation is powered by Rust for fast and efficient processing.
Example usage:
await PdfOcrClient.init();
final client = PdfOcrClient();
final text = await client.extractPdfText('/path/to/document.pdf');
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
extractPdfText(
String path) → Future< String?> - Extracts text from a PDF file using OCR.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited