TextLineResultItem
Interface TextLineResultItem 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-react-native
interface 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.
text: string;
location
It is used to get the location of the text line in the form of a Quadrilateral.
location: Quadrilateral;
confidence
Returns the confidence of the individual text line recognition result.
confidence: number;
characterResults
Returns all the characters in the text line. Each character is represented by a CharacterResult object.
characterResults: CharacterResult[];
specificationName
Returns the name of the TextLineSpecification object that generated this TextLineResultItem.
specificationName:string;
rawText
Returns the recognized raw text, excluding any concatenation separators.
rawText: string;