# 车牌识别
API | 参数 | 说明 | 返回值 |
---|---|---|---|
waitUntilGetImageFromCamera | 无 | 调取摄像头上传图片 | 图片的 base64 数据 |
licensePlateOCRV2 | 可选: url image | 填写车牌图片的地址链接 检测车牌图片的 base64 数据 | 包含车牌信息的 result |
返回值 | 类型 | 属性 |
---|---|---|
licensePlateOCR-Res | 字典 | 车牌号:number; |
# 示例-车牌识别
from ailib import *
licensePlate = waitUntilGetImageFromCamera()
_aiCarLicensePlateResult = licensePlateOCRV2(licensePlate)
print(_aiCarLicensePlateResult['number'])