Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

无法识别身份证中的性别和民族 #10

Open
lewisxiao opened this issue Nov 21, 2018 · 2 comments
Open

无法识别身份证中的性别和民族 #10

lewisxiao opened this issue Nov 21, 2018 · 2 comments

Comments

@lewisxiao
Copy link

非常好的一个库,但是我在使用时,发现所有testimages下的图片,都无法识别出性别和民族,请问是什么原因?下面是我的代码。

import idcard_recognize;
print(idcard_recognize.process('testimages/3.jpg'));

下面是输出

0.3333333333333333 1280
进入身份证模版匹配流程...
查找身份证耗时:664
进入身份证光学识别流程...
name
张岩
sex

nation

address
福建省南平市延平区黄墩
排垅巷21幢2室
idnum
350702198311280319
{'idnum': '350702198311280319', 'nation': '', 'birth': '19831128', 'sex': '', 'error': 0, 'name': '张岩', 'address': '福建省南平市延平区黄墩排垅巷21幢2室'}
@BIGPPWONG
Copy link
Owner

感谢反馈,我稍后排查

@yasohasakii
Copy link

您好,我遇到了一样的问题,我两台机器一台tesseract3.04版本不能识别性别和民族,但是4.0.0alpha版本的可以,我觉得可能是tesseract版本的问题。3.0.4版本下单独运行tesseract会报错dpi为0,反馈Empty page

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants