Line class

Represents a single line. A line is made up of words.

Inheritance

Constructors

Line.new({required String text, required double confidence, required List<Point<double>> roi, required List<Word> words})
Line.fromJson(Map<String, dynamic> json)
factory

Properties

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
words List<Word>
List of words.
final

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