Search Results for

    Show / Hide Table of Contents

    Class OcrLicensePlateResult

    Result from ReadLicensePlate(OcrInputBase)

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

    Inheritance
    System.Object
    OcrLicensePlateResult
    Implements
    IronSoftware.Abstractions.Ocr.IOcrResult
    Namespace: IronOcr
    Assembly: IronOcr.dll
    Syntax
    public class OcrLicensePlateResult : Object

    OcrLicensePlateResult is what a license-plate read hands back, the small result object that carries just the plate text and where it sat in the image. IronTesseract.ReadLicensePlate returns one, so a parking, tolling, or access-control workflow gets the recognized characters without walking a full document model. It is the focused counterpart to OcrResult, which exposes the entire page structure, where this type answers one question: what does the plate say, and how sure is the engine.

    The result is read straight off the returned object. Text holds the recognized plate characters and Confidence reports the engine's certainty as a score, so a low value can route a frame for review or a retry. Licenseplate is the Rectangle that locates the detected plate within the source image, useful for drawing an overlay or cropping the region for a second pass. Read Confidence before trusting Text, and use Licenseplate when the location matters as much as the characters.

    The read license plate how-to walks through a full read, and the license plate example shows the result fields in code.

    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

    Licenseplate

    License plate location on the OcrInput.

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

    Text

    Ocr text on license plate from OcrInput.

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

    Implements

    IronSoftware.Abstractions.Ocr.IOcrResult
    ☀
    ☾
    Downloads
    • Download with Nuget
    • Start for Free
    In This Article
    Back to top
    Install with Nuget