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

demo.py中 将box转换为原始尺寸时,代码可能有一点小错误 #469

Open
maq1995 opened this issue Aug 26, 2020 · 0 comments
Open

Comments

@maq1995
Copy link

maq1995 commented Aug 26, 2020

Screenshot (1)
我在使用CTPN之后,又进行了CRNN的文字识别,因为需要将box中的坐标值转换为原始尺寸对应的坐标,就按照作者的写法x/rh, y/rw, 发现识别结果总是有几个字识别错误。
想着x应该对应的是宽度w,y应该对应的是高度h,所以就使x/rw, y/rh, 识别结果一下子就正常了,没有识别错误的字。

在此分享出来,如果你使用CTPN后又进行文字的识别,发现有识别错误的个别字,并且不管使用什么图像预处理的手段,都无法改善的话,或许你可以试试这个方法。

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

1 participant