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

相关推荐
hboot25 分钟前
AI工程师第三课 - 机器学习基础
python·scikit-learn·kaggle
lizhongxuan1 小时前
AI Agent 上下文压缩利器 Headroom
后端
Csvn3 小时前
SSH 远程管理与安全加固 — 运维的守门之道
后端
IT_陈寒3 小时前
Python搞不定字符串编码?这破玩意坑我两小时!
前端·人工智能·后端
菜鸟谢5 小时前
Rust 智能指针完整详解
后端
菜鸟谢5 小时前
Rust 函数完整知识点详解
后端
爱勇宝5 小时前
淡泊名利之前,先承认我们都很焦虑
前端·后端·程序员
菜鸟谢5 小时前
Rust 闭包(Closure)完整详解
后端
ServBay5 小时前
如何利用本地技术栈构建 0 成本 AI SaaS 雏形
后端·aigc·ai编程
菜鸟谢5 小时前
Rust 集合 + 迭代器完整详解
后端