Search Results for

    Show / Hide Table of Contents

    Class OcrDocAdvancedResult

    Result from ReadDocumentAdvanced(OcrInputBase, ModelType)

    Provides access to: Text, Confidence, Tables, NoOutlineRegions, Words, and Characters.

    Inheritance
    System.Object
    AdvancedOcrResultBase
    OcrDocAdvancedResult
    Implements
    IronSoftware.Abstractions.Ocr.IOcrResult
    Inherited Members
    AdvancedOcrResultBase.SaveAsSearchablePdfBytes(Boolean, String, String)
    AdvancedOcrResultBase.SaveAsSearchablePdfStream(Boolean, String, String)
    AdvancedOcrResultBase.SaveAsSearchablePdf(String, Boolean, String, String)
    AdvancedOcrResultBase.Words
    AdvancedOcrResultBase.Characters
    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
    AdvancedOcrResultBase.Confidence

    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
    Overrides
    AdvancedOcrResultBase.Text

    Implements

    IronSoftware.Abstractions.Ocr.IOcrResult

    Inherited members

    SaveAsSearchablePdfBytes(Boolean, String, String)
    SaveAsSearchablePdfStream(Boolean, String, String)
    SaveAsSearchablePdf(String, Boolean, String, String)
    Words
    Characters
    ☀
    ☾
    Downloads
    • Download with Nuget
    • Start for Free
    In This Article
    Back to top
    Install with Nuget