The TextLineResultItem interface represents a text line result item recognized by the library.

interface TextLineResultItem {
    characterResults: CharacterResult[];
    confidence: number;
    location: Quadrilateral;
    specificationName: string;
    targetROIDefName?: string;
    taskName?: string;
    text: string;
    type: number;
}

Hierarchy (View Summary)

Properties

characterResults: CharacterResult[]

All the characters in the text line.

confidence: number

The confidence of the text line recognition result.

location: Quadrilateral

The location of the text line in the form of a quadrilateral.

specificationName: string

The name of the text line specification that generated this element.

targetROIDefName?: string

the name of the TargetROIDef object which includes a task that generated the result.

taskName?: string

The name of the task that generated the result.

text: string

The text content of the text line.

type: number

The type of the captured result item.