We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
单字符识别时,det结果旋转了90度导致rec错误
win11
如下图片可以复现:
# main.py line 167、168行 if dst_img_height * 1.0 / dst_img_width >= 1.5: dst_img = np.rot90(dst_img)
det检测到文本框之后,经过以上代码旋转之后,图片变成了这样: 导致最终识别奕成了字母O
这里不需要判断宽高比例使其旋转90度
The text was updated successfully, but these errors were encountered:
这个发现很有趣,需要仔细考虑一下了
Sorry, something went wrong.
No branches or pull requests
问题描述 / Problem Description
单字符识别时,det结果旋转了90度导致rec错误
运行环境 / Runtime Environment
win11
复现条件
如下图片可以复现:
问题代码 / Reproduction Code
det检测到文本框之后,经过以上代码旋转之后,图片变成了这样:
导致最终识别奕成了字母O
可能解决方案 / Possible solutions
这里不需要判断宽高比例使其旋转90度
The text was updated successfully, but these errors were encountered: