Class OcrDocAdvancedResult
Result from ReadDocumentAdvanced(OcrInputBase, ModelType)
Provides access to: Text, Confidence, Tables, NoOutlineRegions, Words, and Characters.
Implements
Inherited Members
Namespace: IronOcr
Assembly: IronOcr.dll
Syntax
public class OcrDocAdvancedResult : AdvancedOcrResultBase
OcrDocAdvancedResult is the record you receive from IronTesseract.ReadDocumentAdvanced, the machine-learning read built for structured documents. It carries the recognized content of one document together with the layout the advanced model recovered, so a developer reads both the words and the structure around them from a single object.
Text holds the full recognized text of the input, and Confidence reports the average per-character accuracy as a value where 1 equals 100 percent, useful for deciding whether a result is trustworthy enough to use unattended. Tables exposes the recognized tables and their cell contents, the property that makes this result type worth choosing over a plain read when a document contains grids. NoOutlineRegions lists the borderless regions the model detected, the areas of text that sit outside a ruled table. Read Text for the raw transcription, then walk Tables to rebuild the document's grids in code.
The advanced document read how-to produces this result, and the read table how-to works through its Tables property.
Properties
Confidence
Ocr statistical accuracy confidence as an average of every character.
1 = 100%, 0 = 0%.
Declaration
public override double Confidence { get; }
Property Value
| Type | Description |
|---|---|
| System.Double |
Overrides
NoOutlineRegions
Collection of Ocr region without outlines from OcrInput
Declaration
public IEnumerable<NoOutlineRegion> NoOutlineRegions { get; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.IEnumerable<NoOutlineRegion> |
Tables
Collection of recognized tables and their informations from OcrInput
Declaration
public Tables Tables { get; }
Property Value
| Type | Description |
|---|---|
| Tables |
Remarks
Only tables with clarity outlines can be recognized.
Text
All Ocr texts from OcrInput.
Declaration
public override string Text { get; }
Property Value
| Type | Description |
|---|---|
| System.String |