@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()?
optionaldetectLicensePlates(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
config?
Record<string, unknown>
Returns
Promise<LicensePlateDetectionPluginResponse | undefined>
licensePlateDetectionSettings()?
optionallicensePlateDetectionSettings():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
config
Record<string, unknown>
Returns
Promise<LicensePlateDetectionPluginResponse | undefined>