Table of Contents

Class LicensePlateRecognitionOverlayDrawingOptionBuilder

Namespace
CapCognition.Maui.LPR
Assembly
CapCognition.Maui.LPR.dll
public class LicensePlateRecognitionOverlayDrawingOptionBuilder
Inheritance
LicensePlateRecognitionOverlayDrawingOptionBuilder
Inherited Members

Constructors

LicensePlateRecognitionOverlayDrawingOptionBuilder(LicensePlateDetectionRecognitionOptionBuilder, Action<LicensePlateRecognitionOverlayDrawingOptions>)

public LicensePlateRecognitionOverlayDrawingOptionBuilder(LicensePlateDetectionRecognitionOptionBuilder parent, Action<LicensePlateRecognitionOverlayDrawingOptions> onDone)

Parameters

parent LicensePlateDetectionRecognitionOptionBuilder
onDone Action<LicensePlateRecognitionOverlayDrawingOptions>

Methods

DisableOverlays()

If set, the results are only available in the result list. No overlay processing is done or drawn when using directly the recognizer. Note: This switch can only be set before the recognition starts.

public LicensePlateRecognitionOverlayDrawingOptionBuilder DisableOverlays()

Returns

LicensePlateRecognitionOverlayDrawingOptionBuilder

DisplayLicensePlateSurroundingBox()

The overlay should display the recognized license plate boxes Note: This option only has an impact when overlay processing is enabled. If the option should be changed during runtime, the property of the options needs to be modified directly.

public LicensePlateRecognitionOverlayDrawingOptionBuilder DisplayLicensePlateSurroundingBox()

Returns

LicensePlateRecognitionOverlayDrawingOptionBuilder

DisplayVehicleSurroundingBox()

The overlay should display the recognized vehicle boxes Note: This option only has an impact when overlay processing is enabled. If the option should be changed during runtime, the property of the options needs to be modified directly.

public LicensePlateRecognitionOverlayDrawingOptionBuilder DisplayVehicleSurroundingBox()

Returns

LicensePlateRecognitionOverlayDrawingOptionBuilder

Done()

Call this when done configuring this option Note: This method has to be the last method called in the builder chain.

public LicensePlateDetectionRecognitionOptionBuilder Done()

Returns

LicensePlateDetectionRecognitionOptionBuilder

EnableOverlays()

If set, the found results are automatically drawn as overlay or drawn when using directly the recognizer Note: This switch can only be set before the recognition starts.

public LicensePlateRecognitionOverlayDrawingOptionBuilder EnableOverlays()

Returns

LicensePlateRecognitionOverlayDrawingOptionBuilder

HideLicensePlateSurroundingBox()

The overlay should not display the recognized license plate boxes Note: This option only has an impact when overlay processing is enabled. If the option should be changed during runtime, the property of the options needs to be modified directly.

public LicensePlateRecognitionOverlayDrawingOptionBuilder HideLicensePlateSurroundingBox()

Returns

LicensePlateRecognitionOverlayDrawingOptionBuilder

HideVehicleSurroundingBox()

The overlay should not display the recognized vehicle boxes Note: This option only has an impact when overlay processing is enabled. If the option should be changed during runtime, the property of the options needs to be modified directly.

public LicensePlateRecognitionOverlayDrawingOptionBuilder HideVehicleSurroundingBox()

Returns

LicensePlateRecognitionOverlayDrawingOptionBuilder

SetLicensePlateNonValidatedSurroundingRectColor(Color?)

The color of a non-validated license plate overlay rect If not set, the validated color is taken Note: This option only has an impact when overlay processing is enabled and the display of the license plate surrounding is enabled. If the option should be changed during runtime, the property of the options needs to be modified directly.

public LicensePlateRecognitionOverlayDrawingOptionBuilder SetLicensePlateNonValidatedSurroundingRectColor(Color? color)

Parameters

color Color

Returns

LicensePlateRecognitionOverlayDrawingOptionBuilder

SetLicensePlateNonValidatedSurroundingRectStrokeWidth(float?)

The stroke width of a non-validated license plate overlay rect. If not set, the validated width is taken Note: This option only has an impact when overlay processing is enabled and the display of the license plate surrounding is enabled. If the option should be changed during runtime, the property of the options needs to be modified directly.

public LicensePlateRecognitionOverlayDrawingOptionBuilder SetLicensePlateNonValidatedSurroundingRectStrokeWidth(float? width)

Parameters

width float?

Returns

LicensePlateRecognitionOverlayDrawingOptionBuilder

SetLicensePlateSurroundingRectColor(Color)

The color of the license plate overlay rect Note: This option only has an impact when overlay processing is enabled and the display of the license plate surrounding is enabled. If the option should be changed during runtime, the property of the options needs to be modified directly.

public LicensePlateRecognitionOverlayDrawingOptionBuilder SetLicensePlateSurroundingRectColor(Color color)

Parameters

color Color

Returns

LicensePlateRecognitionOverlayDrawingOptionBuilder

SetLicensePlateSurroundingRectStrokeWidth(float)

The stroke width of the license plate overlay rect Note: This option only has an impact when overlay processing is enabled and the display of the license plate surrounding is enabled. If the option should be changed during runtime, the property of the options needs to be modified directly.

public LicensePlateRecognitionOverlayDrawingOptionBuilder SetLicensePlateSurroundingRectStrokeWidth(float width)

Parameters

width float

Returns

LicensePlateRecognitionOverlayDrawingOptionBuilder

SetOverlays(bool)

If set, the results are only available in the result list. No overlay processing is done or drawn when using directly the recognizer. Note: This switch can only be set before the recognition starts.

public LicensePlateRecognitionOverlayDrawingOptionBuilder SetOverlays(bool enable)

Parameters

enable bool

Returns

LicensePlateRecognitionOverlayDrawingOptionBuilder

SetVehicleSurroundingRectColor(Color)

The color of the vehicle overlay rect Note: This option only has an impact when overlay processing is enabled and the display of the vehicle surrounding is enabled. If the option should be changed during runtime, the property of the options needs to be modified directly.

public LicensePlateRecognitionOverlayDrawingOptionBuilder SetVehicleSurroundingRectColor(Color color)

Parameters

color Color

Returns

LicensePlateRecognitionOverlayDrawingOptionBuilder

SetVehicleSurroundingRectStrokeWidth(float)

The stroke width of the vehicle overlay rect Note: This option only has an impact when overlay processing is enabled and the display of the vehicle surrounding is enabled. If the option should be changed during runtime, the property of the options needs to be modified directly.

public LicensePlateRecognitionOverlayDrawingOptionBuilder SetVehicleSurroundingRectStrokeWidth(float width)

Parameters

width float

Returns

LicensePlateRecognitionOverlayDrawingOptionBuilder