使用paddleocr 身份证中的姓名无法识别 #12378
Unanswered
Anxiangchegu
asked this question in
Q&A
Replies: 1 comment
-
paddleocr的版本是多少呢? 建议版本号大于2.7.0, 还识别不了可以尝试更换检测模型为server |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
问题:使用paddleocr 身份证中的姓名无法识别。
如下图:

代码如下:
`
import paddle
from paddleocr import PaddleOCR
from paddleocr.tools.infer.utility import draw_ocr
print(paddle.version)
ocr = PaddleOCR(use_angle_cls=True, lang="ch") # need to run only once to download and load model into memory
img_path = '../static/idCard.jpg'
result = ocr.ocr(img_path, cls=True)
print(result)
for idx in range(len(result)):
res = result[idx]
for line in res:
print(line)
`
请提供下述完整信息以便快速定位问题/Please provide the following information to quickly locate the problem
Beta Was this translation helpful? Give feedback.
All reactions