Search Results for

    Show / Hide Table of Contents

    Class OcrPhotoResult.TextRegion

    Text region struct

    Inheritance
    System.Object
    OcrPhotoResult.TextRegion
    Implements
    System.IEquatable<OcrPhotoResult.TextRegion>
    Namespace: IronOcr
    Assembly: IronOcr.dll
    Syntax
    public sealed class TextRegion : ValueType, IEquatable<OcrPhotoResult.TextRegion>

    Constructors

    TextRegion(String, Rectangle, Single)

    Declaration
    public TextRegion(string textByRegion, Rectangle regionRect, float confidence)
    Parameters
    Type Name Description
    System.String textByRegion
    IronSoftware.Drawing.Rectangle regionRect
    System.Single confidence

    TextRegion(String, Rectangle, Single, Int32)

    Declaration
    public TextRegion(string textByRegion, Rectangle regionRect, float confidence, int frameNumber)
    Parameters
    Type Name Description
    System.String textByRegion
    IronSoftware.Drawing.Rectangle regionRect
    System.Single confidence
    System.Int32 frameNumber

    Fields

    Empty

    Declaration
    public static readonly OcrPhotoResult.TextRegion Empty
    Field Value
    Type Description
    OcrPhotoResult.TextRegion

    Properties

    PageNumber

    Declaration
    public int PageNumber { get; }
    Property Value
    Type Description
    System.Int32

    Region

    Declaration
    public Rectangle Region { get; }
    Property Value
    Type Description
    IronSoftware.Drawing.Rectangle

    RegionConf

    Declaration
    public float RegionConf { get; }
    Property Value
    Type Description
    System.Single

    TextInRegion

    Declaration
    public string TextInRegion { get; }
    Property Value
    Type Description
    System.String

    Methods

    Equals(OcrPhotoResult.TextRegion)

    Declaration
    public bool Equals(OcrPhotoResult.TextRegion others)
    Parameters
    Type Name Description
    OcrPhotoResult.TextRegion others
    Returns
    Type Description
    System.Boolean

    Equals(Object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    System.Object obj
    Returns
    Type Description
    System.Boolean

    Implements

    System.IEquatable<>
    ☀
    ☾
    Downloads
    • Download with Nuget
    • Start for Free
    In This Article
    Back to top
    Install with Nuget
    Want to deploy IronOCR to a live project for FREE?
    What’s included?
    30 days of fully-functional product
    Test and share in a live environment
    No watermarks in production
    Get your free 30-day Trial Key instantly.
    No credit card or account creation required
    Your Trial License Key has been emailed to you.
    Download IronOCR free to apply
    your Trial Licenses Key
    Install with NuGet View Licenses
    Licenses from $499. Have a question? Get in touch.