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

相关推荐
Csvn42 分钟前
Nginx 静态站点与 location 匹配:优先级、alias、缓存头与 gzip
后端·nginx
小满zs1 小时前
Go语言第二十章(初探Gin)
后端·go
学长毕设1 小时前
基于SpringBoot军事纪念馆管理系统设计与实现-附源码
java·spring boot·后端
小满zs1 小时前
Go语言第十九章(http标准库)
后端·go
岁月宁静2 小时前
从零拆解 AI 语音模拟面试系统
人工智能·python·agent
benchmark_cc2 小时前
个人开发者接入五档盘口:用 QuantDash 读取单只股票的验收清单与易错点
python·数据分析·pandas·量化交易·股票数据·quantdash
ZhengEnCi3 小时前
项目越写越乱?先别改架构:用一次目录重排 + 一份可复算的体检脚本把乱治住
python·架构·ai编程
考虑考虑3 小时前
nginx拦截url
运维·后端·nginx
Dmz丶4 小时前
前端转 AI 100 天 Day 45:阶段复盘——从“会调 API”到“做出 AI 产品”
python
GISer_Jing4 小时前
GitHub热点I
后端·ai·langchain