Page class

Detected page from OCR.

Annotations
  • @JsonSerializable(explicitToJson: true)

Constructors

Page({required TextProperty? property, required int width, required int height, required List<Block>? blocks, required double? confidence})
Page.fromJson(Map<String, dynamic> json)
factory

Properties

blocks List<Block>?
List of blocks of text, images etc on this page.
final
confidence double?
Confidence of the OCR results on the page. Range [0, 1].
final
hashCode int
The hash code for this object.
no setterinherited
height int
Page height. For PDFs the unit is points. For images (including TIFFs) the unit is pixels.
final
property TextProperty?
Additional information detected on the page.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
width int
Page width. For PDFs the unit is points. For images (including TIFFs) the unit is pixels.
final

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.
override

Operators

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