python识别车牌号

 

from hyperlpr import HyperLPR_plate_recognition
import cv2

image = cv2.imread("7.jpg")
data = HyperLPR_plate_recognition(image)
print(data)

 

 

报错修改:

Lib\site-packages\hyperlpr\hyperlpr.py

#mat_ = cv2.estimateRigidTransform(org_pts, target_pts, True)
mat_, _ = cv2.estimateAffinePartial2D(org_pts, target_pts, True)
posted @ 2022-08-13 17:11  程序员小艺  阅读(240)  评论(0)    收藏  举报