OcrApi class
API endpoints for OCR
Constructors
- OcrApi.new(ApiClient client)
- Constructor
Properties
Methods
-
extractTextFromImage(
File file, {String language = 'eng'}) → Future< ApiResponse> - Extract text from an image using OCR
-
makeSearchablePdf(
File file, {OcrOptions? options}) → Future< ApiResponse> - Make a PDF searchable using OCR
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
parseOcrResult(
ApiResponse response) → OcrResult - Parse OCR result from API response
-
performOcr(
File file, {OcrOptions? options}) → Future< ApiResponse> - Perform OCR on a PDF file
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited