Table of Contents

Class StableLicensePlateResult

Namespace
CapCognition.Maui.LPR.CapCognitionLicensePlateTracking
Assembly
CapCognition.Maui.LPR.dll

Stable output produced by LicensePlateTemporalTracker. Bitmap properties are copies and are owned by this result. Dispose the result when they are no longer required.

public sealed class StableLicensePlateResult : IDisposable
Inheritance
StableLicensePlateResult
Implements
Inherited Members

Properties

BestPlateBitmap

Copy from the representative observation, or null when image retention is disabled, the input had no plate image, or the observation's images were evicted. May be downscaled according to MaximumPlateBitmapSize; remains uncompressed.

public SKBitmap? BestPlateBitmap { get; init; }

Property Value

SKBitmap

BestSourceBitmap

Copy from the representative observation, or null when image retention is disabled or the observation's images were evicted by the retention limits. May be downscaled according to MaximumSourceBitmapSize; remains uncompressed.

public SKBitmap? BestSourceBitmap { get; init; }

Property Value

SKBitmap

CountryCode

Country code reported by the recognition result, when available.

public string? CountryCode { get; init; }

Property Value

string

FirstSeen

Timestamp of the first observation in this vehicle lifetime.

public DateTimeOffset FirstSeen { get; init; }

Property Value

DateTimeOffset

Iso2CountryCode

ISO 3166-1 alpha-2 country code reported by the recognition result, when available.

public string? Iso2CountryCode { get; init; }

Property Value

string

Iso3CountryCode

ISO 3166-1 alpha-3 country code reported by the recognition result, when available.

public string? Iso3CountryCode { get; init; }

Property Value

string

LastSeen

Timestamp of the most recent usable observation.

public DateTimeOffset LastSeen { get; init; }

Property Value

DateTimeOffset

ObservationCount

Number of observations supporting the stabilized plate.

public int ObservationCount { get; init; }

Property Value

int

OriginalPlateBitmapSize

Original plate-image dimensions before any retained-image downscaling.

public Size? OriginalPlateBitmapSize { get; init; }

Property Value

Size?

OriginalSourceBitmapSize

Original source dimensions. Use the actual preview width/height divided by these dimensions to map bounds onto BestSourceBitmap.

public Size? OriginalSourceBitmapSize { get; init; }

Property Value

Size?

PlateBounds

Bounds in original source-image coordinates, unaffected by preview scaling.

public RectangleF? PlateBounds { get; init; }

Property Value

RectangleF?

PlateIsValidated

Gets whether PlateNumberValidated was supplied by the recognition result.

public bool PlateIsValidated { get; init; }

Property Value

bool

PlateNumber

Temporally stabilized plate number.

public string? PlateNumber { get; init; }

Property Value

string

PlateNumberRaw

Raw OCR text of the representative observation before validation.

public string? PlateNumberRaw { get; init; }

Property Value

string

PlateNumberValidated

Country-validated OCR text of the representative observation, when available.

public string? PlateNumberValidated { get; init; }

Property Value

string

RecognitionConfidence

Confidence of the best original recognition contributing to this result.

public double RecognitionConfidence { get; init; }

Property Value

double

StabilityConfidence

Calculated temporal confidence in the range 0..1. This is not the original neural-network confidence.

public double StabilityConfidence { get; init; }

Property Value

double

State

State transition represented by this result.

public StableLicensePlateState State { get; init; }

Property Value

StableLicensePlateState

VehicleBounds

Bounds in original source-image coordinates, unaffected by preview scaling.

public RectangleF? VehicleBounds { get; init; }

Property Value

RectangleF?

VehicleType

Vehicle type reported by the representative recognition observation.

public RecognitionProcessorLicensePlateDetectionResult.TypeOfVehicle VehicleType { get; init; }

Property Value

RecognitionProcessorLicensePlateDetectionResult.TypeOfVehicle

Methods

Dispose()

Releases the bitmap copies owned by this result.

public void Dispose()

ToString()

Returns a concise diagnostic representation of this stabilized result.

public override string ToString()

Returns

string