Skip to content

@camera.ui/sdk / plugin / LicensePlateDetectionInterface

Interface: LicensePlateDetectionInterface

Defined in: plugin/interfaces.ts:255

Interface for plugins that provide license plate detection. Implement testLicensePlateDetection() to handle detection test requests from the UI.

Methods

detectLicensePlates()?

optional detectLicensePlates(frame, config?): Promise<LicensePlateDetectionPluginResponse | undefined>

Defined in: plugin/interfaces.ts:263

Run license plate detection on a pre-processed frame. Used by automations/benchmarks.

Parameters

frame

VideoFrameData

config?

Record<string, unknown>

Returns

Promise<LicensePlateDetectionPluginResponse | undefined>


licensePlateDetectionSettings()?

optional licensePlateDetectionSettings(): Promise<JsonSchema[] | undefined>

Defined in: plugin/interfaces.ts:265

Optional settings schema for license plate detection configuration UI

Returns

Promise<JsonSchema[] | undefined>


testLicensePlateDetection()

testLicensePlateDetection(imageData, metadata, config): Promise<LicensePlateDetectionPluginResponse | undefined>

Defined in: plugin/interfaces.ts:257

Run license plate detection on image data. Used by the UI for testing/previewing.

Parameters

imageData

Buffer<ArrayBufferLike> | Uint8Array<ArrayBufferLike>

metadata

ImageMetadata

config

Record<string, unknown>

Returns

Promise<LicensePlateDetectionPluginResponse | undefined>