@camera.ui/sdk / plugin / LicensePlateDetectionInterface
Interface: LicensePlateDetectionInterface ​
Defined in: plugin/interfaces.ts:467
Implemented by plugins that locate license plates and run OCR on them.
Methods ​
detectLicensePlates()? ​
optionaldetectLicensePlates(frame,config?):Promise<LicensePlateDetectionPluginResponse|undefined>
Defined in: plugin/interfaces.ts:478
Run detection on a pre-decoded video frame.
Parameters ​
frame ​
config? ​
Record<string, unknown>
Returns ​
Promise<LicensePlateDetectionPluginResponse | undefined>
licensePlateDetectionSettings()? ​
optionallicensePlateDetectionSettings():Promise<JsonSchema[] |undefined>
Defined in: plugin/interfaces.ts:480
Return the JSON schema for the license-plate-detection settings form in the UI, or undefined for no schema.
Returns ​
Promise<JsonSchema[] | undefined>
testLicensePlateDetection() ​
testLicensePlateDetection(
imageData,metadata,config):Promise<LicensePlateDetectionPluginResponse|undefined>
Defined in: plugin/interfaces.ts:472
Run detection on a single image captured by the UI test panel and return the result for preview rendering. A number in config.threshold is the lowest confidence to return, without it the plugin's default applies.
Parameters ​
imageData ​
Buffer<ArrayBufferLike> | Uint8Array<ArrayBufferLike>
metadata ​
config ​
Record<string, unknown>
Returns ​
Promise<LicensePlateDetectionPluginResponse | undefined>