Documentation
Table of contents

TextLineResultItem

The TextLineResultItem class represents a single text line result item recognized by the library. It is derived from CapturedResultItem and is one of the base items of RecognizedTextLinesResult.

Definition

Assembly: dynamsoft_capture_vision_flutter

class TextLineResultItem extends CapturedResultItem

Inheritance: CapturedResultItem -> TextLineResultItem

Properties

Property Types Description
text String Returns the text content of the text line.
location Quadrilateral Returns the location of the text line in the form of a quadrilateral.
confidence int Returns the confidence of the text line recognition result.
characterResults *List* Get all the characters in the text line. Each character is represented by a CharacterResult object.
specificationName String Returns the name of the TextLineSpecification object that generated this TextLineResultItem.
rawText String Returns the recognized raw text, excluding any concatenation separators.

text

Returns the text content of the individual text line.

String text;

location

It is used to get the location of the text line in the form of a Quadrilateral.

Quadrilateral location;

confidence

Returns the confidence of the individual text line recognition result.

int confidence;

characterResults

Returns all the characters in the text line. Each character is represented by a CharacterResult object.

List<CharacterResult>? characterResults;

specificationName

Returns the name of the TextLineSpecification object that generated this TextLineResultItem.

String specificationName;

rawText

Returns the recognized raw text, excluding any concatenation separators.

String rawText;

This page is compatible for:

Is this page helpful?

YesYes NoNo

In this article: