OcrApi class

API endpoints for OCR

Inheritance

Constructors

OcrApi.new(ApiClient client)
Constructor

Properties

client ApiClient
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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