OcrOptions class
OCR options
- Annotations
-
- @JsonSerializable(createFactory: true, includeIfNull: false, explicitToJson: true)
Constructors
-
OcrOptions.new({List<
String> ? languages, bool? shouldGeneratePdf}) -
OcrOptions.fromJson(Map<
String, dynamic> json) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
languages
↔ List<
String> ? -
A list with OCR languages of the text to be recognized (e.g. {"en", "de"}).
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shouldGeneratePdf ↔ bool?
-
Flag to generate a PDF with OCR layer text (sandwiched PDF).
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited