Search Results for

    Show / Hide Table of Contents

    Class OcrPhotoResult

    Result from ReadPhoto(OcrInputBase) or ReadScreenShot(OcrInputBase)

    Give an access to: Text, Confidence, and TextRegions.

    Inheritance
    System.Object
    OcrPhotoResult
    Implements
    IronSoftware.IOcrResult
    Namespace: IronOcr
    Assembly: IronOcr.dll
    Syntax
    public class OcrPhotoResult : Object, IOcrResult

    Properties

    Confidence

    OCR statistical accuracy confidence as an average of every character.

    1 = 100%, 0 = 0%.

    Declaration
    public double Confidence { get; }
    Property Value
    Type Description
    System.Double

    Text

    All Ocr texts from OcrInput.

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

    TextRegions

    Ocr text and its location on the OcrInput.

    Declaration
    public List<OcrPhotoResult.TextRegion> TextRegions { get; }
    Property Value
    Type Description
    System.Collections.Generic.List<OcrPhotoResult.TextRegion>

    Methods

    SaveAsTextFile(String)

    Exports a .txt version of OcrPhotoResult. This is a plain text file.

    Declaration
    public void SaveAsTextFile(string Path)
    Parameters
    Type Name Description
    System.String Path

    The file path the text file will be saved to.

    Implements

    IronSoftware.IOcrResult
    ☀
    ☾
    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.