Table of Contents

Class RecognitionProcessorLicensePlateDetectionResult

Namespace
CapCognition.Maui.LPR
Assembly
CapCognition.Maui.LPR.dll
public class RecognitionProcessorLicensePlateDetectionResult : RecognitionProcessorResult
Inheritance
RecognitionProcessorLicensePlateDetectionResult
Inherited Members

Constructors

RecognitionProcessorLicensePlateDetectionResult(LicensePlateDetectionRecognitionOptions)

public RecognitionProcessorLicensePlateDetectionResult(LicensePlateDetectionRecognitionOptions options)

Parameters

options LicensePlateDetectionRecognitionOptions

Properties

PlateBitmap

The bitmap of the detected license plate.

public SKBitmap? PlateBitmap { get; }

Property Value

SKBitmap

PlateBounds

The bounding box of the detected license plate.

public RectangleF? PlateBounds { get; }

Property Value

RectangleF?

PlateConfidence

The confidence score of the detected license plate.

public double PlateConfidence { get; }

Property Value

double

PlateCountryCode

The country code of the detected license plate.

public string? PlateCountryCode { get; }

Property Value

string

PlateIsValidated

Whether country-specific validation accepted the recognized plate.

public bool PlateIsValidated { get; }

Property Value

bool

PlateIso2CountryCode

Gets or sets the ISO 3166-1 alpha-2 country code associated with the license plate.

public string? PlateIso2CountryCode { get; set; }

Property Value

string

Remarks

The country code should be a two-letter uppercase string as defined by the ISO 3166-1 alpha-2 standard. This property may be null if the country code is unknown or not applicable.

PlateIso3CountryCode

Gets or sets the ISO 3166-1 alpha-3 country code associated with the license plate.

public string? PlateIso3CountryCode { get; set; }

Property Value

string

Remarks

The country code should be a three-letter uppercase string as defined by the ISO 3166-1 alpha-3 standard. This property may be null if the country code is unknown or not applicable.

PlateNumberConfidence

The confidence score of the validated license plate number.

public double PlateNumberConfidence { get; }

Property Value

double

PlateNumberRaw

The raw license plate number.

public string? PlateNumberRaw { get; }

Property Value

string

PlateNumberRows

The number of rows in the license plate.

public int PlateNumberRows { get; }

Property Value

int

PlateNumberValidated

The validated license plate number.

public string? PlateNumberValidated { get; }

Property Value

string

VehicleBounds

The bounding box of the detected vehicle.

public RectangleF? VehicleBounds { get; }

Property Value

RectangleF?

VehicleConfidence

The confidence score of the detected vehicle.

public double VehicleConfidence { get; }

Property Value

double

VehicleType

The type of the detected vehicle see type RecognitionProcessorLicensePlateDetectionResult.TypeOfVehicle.

public RecognitionProcessorLicensePlateDetectionResult.TypeOfVehicle VehicleType { get; }

Property Value

RecognitionProcessorLicensePlateDetectionResult.TypeOfVehicle

Methods

DrawResult(SKCanvas)

Draws the license plate detection result on the given canvas.

public override void DrawResult(SKCanvas canvas)

Parameters

canvas SKCanvas

ToString()

Returns a string representation of the license plate detection result.

public override string ToString()

Returns

string