Search Results for

    Show / Hide Table of Contents

    Class PageSegMode

    Inheritance
    System.Object
    PageSegMode
    Namespace: DynamicTesseract
    Assembly: IronOcr.dll
    Syntax
    public sealed class PageSegMode : Enum

    Tell the Tesseract engine how to segment a page before recognition with PageSegMode. Auto is the general-purpose default that detects layout on its own, SingleBlock treats the image as one uniform block of text, and SingleLine, SingleWord, and SingleChar constrain recognition to a single line, word, or character for tightly cropped inputs. SparseText finds text scattered in no particular order, while AutoOsd and OsdOnly add orientation and script detection. Match the mode to the input's layout to improve accuracy. The advanced reading how-to covers segmentation tuning.

    Fields

    Auto

    Declaration
    public const PageSegMode Auto
    Field Value
    Type Description
    PageSegMode

    AutoOnly

    Declaration
    public const PageSegMode AutoOnly
    Field Value
    Type Description
    PageSegMode

    AutoOsd

    Declaration
    public const PageSegMode AutoOsd
    Field Value
    Type Description
    PageSegMode

    CircleWord

    Declaration
    public const PageSegMode CircleWord
    Field Value
    Type Description
    PageSegMode

    Count

    Declaration
    public const PageSegMode Count
    Field Value
    Type Description
    PageSegMode

    OsdOnly

    Declaration
    public const PageSegMode OsdOnly
    Field Value
    Type Description
    PageSegMode

    RawLine

    Declaration
    public const PageSegMode RawLine
    Field Value
    Type Description
    PageSegMode

    SingleBlock

    Declaration
    public const PageSegMode SingleBlock
    Field Value
    Type Description
    PageSegMode

    SingleBlockVertText

    Declaration
    public const PageSegMode SingleBlockVertText
    Field Value
    Type Description
    PageSegMode

    SingleChar

    Declaration
    public const PageSegMode SingleChar
    Field Value
    Type Description
    PageSegMode

    SingleColumn

    Declaration
    public const PageSegMode SingleColumn
    Field Value
    Type Description
    PageSegMode

    SingleLine

    Declaration
    public const PageSegMode SingleLine
    Field Value
    Type Description
    PageSegMode

    SingleWord

    Declaration
    public const PageSegMode SingleWord
    Field Value
    Type Description
    PageSegMode

    SparseText

    Declaration
    public const PageSegMode SparseText
    Field Value
    Type Description
    PageSegMode

    SparseTextOsd

    Declaration
    public const PageSegMode SparseTextOsd
    Field Value
    Type Description
    PageSegMode

    value__

    Declaration
    public int value__
    Field Value
    Type Description
    System.Int32
    ☀
    ☾
    Downloads
    • Download with Nuget
    • Start for Free
    In This Article
    Back to top
    Install with Nuget