Pytesseract 无法正确识别板

问题描述 投票:0回答:1

我正在使用 pytesseract 尝试识别车牌,但它没有返回正确的结果。

这是我的代码

text = pytesseract.image_to_string(cropped_License_Plate, lang='eng', config='--psm 9')

我尝试过使用许多不同的 psm,但结果从来都不正确。

我的图片

板 QAN-5512 Pyressecat 阅读:DAN S512

板RWC2I30 Pytesseract 阅读:'RWC213G

板RWC2I30 Pytesseract 阅读:FRWOZLSU

有办法解决吗?

python ocr python-tesseract
1个回答
0
投票

使用 Paddle OCR 效果很好

谢谢@JJFord3

© www.soinside.com 2019 - 2024. All rights reserved.