车牌识别hyperlpr3

我放弃用go学opencv,没坚持住改用python了。

找到了一个车牌识别的深度学习库hyperlpr3使用很简单,把自带的分类器没识别出来的也识别了

效果测试

超级简单的代码

python 复制代码
import os
import cv2
import hyperlpr3 as lpr3

path = "E:\im\car\data\voc\VOCdevkit\VOC2019\Test"
carFile=[]
files=os.listdir(path)
for file in files:
    fileP=os.path.join(path,file)
    if os.path.isfile(fileP):
       carFile.append(fileP)

# 实例化识别对象
catcher = lpr3.LicensePlateCatcher()
for temp in carFile:
    print(temp)
    # 读取图片
    image = cv2.imread(temp)
    # 识别结果
    print(catcher(image))

遇到问题

onnx 需要指定provider 根据错误提示找到需要改的地方

相关推荐
吃我一窝jio1 小时前
Python与Go线程模型深度对比
java·开发语言·python
zwd20052 小时前
Manim 怎么放大画面的某一部分?
python·动画·可视化·manim·数学动画
屿华AI3 小时前
AUTOSAR 实战-诊断工具 | UDS 0x27 安全访问的配置化实现:种子密钥算法插件化设计
python·测试工具·汽车
RobinDevNotes3 小时前
Claude Code 剪视频,不上传、不要 API Key
人工智能·python·音视频·开发工具·ipython
starzy19904 小时前
深入理解Scala隐式函数:自动类型转换
开发语言·后端·scala
如夏倾城4 小时前
VRRP(虚拟路由器冗余协议Virtual Router Redundancy Protocol)
网络·python·网络协议·安全·智能路由器·负载均衡·信息与通信
IT_陈寒4 小时前
Redis那个过期删除策略,差点让我线上崩了
前端·人工智能·后端
ServBay4 小时前
Cursor披露恶意扩展,怎么守住本地 API Key
后端·ai编程·cursor
IvanCodes5 小时前
LangChain(04):Runnable 与 LCEL 的执行与组合机制
python·langchain·agent
特创数字科技5 小时前
纯本地离线运行的文档脱敏工具(技术分享)
前端·驱动开发·python