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

相关推荐
爱勇宝1 小时前
我做了一个只用来搜歌词的小 App
android·前端·后端
IT_陈寒2 小时前
SpringBoot自动配置坑了我一晚上,原来问题出在这
前端·人工智能·后端
FreakStudio3 小时前
W55MH32L-EVB 上手测评:硬件 TCP/IP 加持的以太网单片机,MicroPython 零门槛开发
python·单片机·嵌入式·大学生·面向对象·并行计算·电子diy·电子计算机
SelectDB3 小时前
Litefuse 开源并推出单进程轻量模式,25 秒就能跑起来的 Agent 可观测与评估平台
运维·后端·自动化运维
SelectDB3 小时前
秒级弹性、最高降本 70%:SelectDB Serverless 如何重塑云数仓资源效率
大数据·后端·云原生
PinkSun3 小时前
Spring AI ChatMemory踩坑实录:重启丢数据、Agent丢记忆、对话溢出
后端·ai编程
壹方秘境3 小时前
我用Go语言开发了一个跨平台的HTTPS抓包和调试工具
前端·后端·ios
神秘面具男3 小时前
HarmonyOS 6.0跨端远程控制
前端·后端
苏三说技术4 小时前
全网爆火的Loop到底是什么?
后端