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

检测出倾斜框是,识别部分怎么 处理的? #208

Closed
wangning7149 opened this issue Jun 15, 2020 · 2 comments
Closed

检测出倾斜框是,识别部分怎么 处理的? #208

wangning7149 opened this issue Jun 15, 2020 · 2 comments

Comments

@wangning7149
Copy link

请问:如果检测出来的文本是倾斜的,识别的时候他怎么知道是左旋还是右旋?旋转错了不就成倒的了吗?

@dyning
Copy link
Collaborator

dyning commented Jun 15, 2020

检测结果是四点模型,只要保证四点是顺时针排列,通过opencv的getPerspectiveTransform和warpPerspective进行转正,但是图片如果竖直方向颠倒,的确会有问题,后面会提供一个判断文字是正向还是颠倒的分类器。

@Hupengyu
Copy link

请问:如果检测出来的文本是倾斜的,识别的时候他怎么知道是左旋还是右旋?旋转错了不就成倒的了吗?
涉及方向paddle_ocr就拉跨了,方向检测自己做一下吧

an1018 pushed a commit to an1018/PaddleOCR that referenced this issue Aug 17, 2022
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

4 participants