Page class

Represents result of performing OCR on an image. A page is made up of blocks.

Inheritance

Constructors

Page({required String text, required double confidence, required List<Point<double>> roi, required List<Block> blocks})
Page.fromJson(Map<String, dynamic> json)
factory

Properties

blocks List<Block>
List of blocks.
final
confidence double
Text confidence. Range is [0-1].
finalinherited
hashCode int
The hash code for this object.
no setterinherited
roi List<Point<double>>
Quad where the text was found in image coordinates. The order of the points is clockwise starting from the top left.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
text String
The recognized text.
finalinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson({ToJsonConfiguration? config}) Map<String, dynamic>
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited