BIGPPWONG / idcardocr

离线环境下第二代居民身份证信息识别
GNU General Public License v3.0
411 stars 149 forks source link

经过测试发现【住址】字段三行情况下只能识别二行 #14

Closed xxzj990 closed 4 years ago

xxzj990 commented 5 years ago

如题

BIGPPWONG commented 5 years ago

样本能提供下么

xxzj990 commented 5 years ago

样本能提供下么

发到你邮箱了

kenny-hash commented 4 years ago

在 idcardocr.py 的825行 bottom_right = (top_left[0] + int(1700*x), top_left[1] + int(550*x)) 改成 bottom_right = (top_left[0] + int(1700*x), top_left[1] + int(825*x)) 即可

xxzj990 commented 4 years ago

在 idcardocr.py 的825行 bottom_right = (top_left[0] + int(1700*x), top_left[1] + int(550*x)) 改成 bottom_right = (top_left[0] + int(1700*x), top_left[1] + int(825*x))即可

谢谢你的回复,感动~