@camera.ui/sdk / plugin / LicensePlateDetectionInterface
Interface: LicensePlateDetectionInterface
Defined in: plugin/interfaces.ts:289
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:297
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:299
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:291
Run detection on a single image captured by the UI test panel and return the result for preview rendering.
Parameters
imageData
Buffer<ArrayBufferLike> | Uint8Array<ArrayBufferLike>
metadata
config
Record<string, unknown>
Returns
Promise<LicensePlateDetectionPluginResponse | undefined>