Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

[功能] 能否支持文字识别后返回单字识别坐标 #135

Closed
aijun198600 opened this issue Oct 27, 2023 · 2 comments
Closed

[功能] 能否支持文字识别后返回单字识别坐标 #135

aijun198600 opened this issue Oct 27, 2023 · 2 comments

Comments

@aijun198600
Copy link

PaddleOCR端支持单字识别坐标返回:PaddlePaddle/PaddleOCR#10515
RapidOCR是否可以也可以此功能,单字识别坐标可以用于获取识别字体颜色和背景色,方便还原字体排版

@SWHL
Copy link
Member

SWHL commented Oct 27, 2023

这个需要我看一下,这是啥,不记得有这个

@aijun198600
Copy link
Author

PaddlePaddle/PaddleOCR#10815
PaddlePaddle/PaddleOCR#10515
看PaddleOCR issue里面有return_word_box参数来返回每个字符的区域

如果可以返回单个字符的区域,对富文本来说都比较容易识别颜色。

我现在用kmeans截取边框计算背景颜色,但是算不准,对“国国国”这样的文字会算错,如果有单个字符的区域,则可以使用抠图后计算颜色

@RapidAI RapidAI locked and limited conversation to collaborators Oct 27, 2023
@SWHL SWHL converted this issue into discussion #136 Oct 27, 2023

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants