车牌识别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 根据错误提示找到需要改的地方

相关推荐
yeflx几秒前
万向节死锁
python
亿道电子Emdoor2 分钟前
【Perforce】Klocwork-kwgcheck图形化界面无法打开如何解决
git·python·github
mldong5 分钟前
审批流程图上那些亮着的线,数据库里一条都没存:jeeflow 工作流引擎的高亮是重算出来的
后端·架构
geovindu10 分钟前
rust: Borg Pattern(续)
开发语言·后端·设计模式·rust·博格模式
迅猛龙办公室2 小时前
python实现倒序输出数字
开发语言·python
苍何8 小时前
开源微信流 Windows,微信聊天记录,可以直接给 Codex 和 Obsidan 了
后端
代码什么用10 小时前
Spring基础使用
java·后端·spring
明月_清风10 小时前
Deno 终局来了:从挑战 Node 到被 Cloudflare 收编
前端·后端·node.js
蜗牛互联网11 小时前
Java 17 HttpClient调用文件转写API的超时与失败回退
java·人工智能·后端
全栈练习生11 小时前
AI Agent 沙箱
python·ai