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

Bug #43

Closed
zhangrui231 opened this issue Oct 16, 2023 · 1 comment
Closed

Bug #43

zhangrui231 opened this issue Oct 16, 2023 · 1 comment

Comments

@zhangrui231
Copy link

我测试了一下直接使用图片路径传递图片给RapidOcr如果图片两端空白太多,会识别成空。
如果用padding_img 处理一下图片用cv2.copyMakeBorder给图片添加相框,确实能识别出来但是有时候会把一行分成多段,没有直接传图片路径准确。

@zhangrui231
Copy link
Author

0_00_23_232__0_00_25_650_1000006231280005612800720
这张图片是不用padding_img 处理会识别会空,处理后能正确识别
0_00_03_003__0_00_06_548_1000006221280005712800720
这张图片不处理能识别正确,处理了就识别成多段打印的结果是这样
[[[[275.0, 272.0], [1412.0, 275.0], [1412.0, 416.0], [274.0, 413.0]], 'Hello world! 手', '0.8730344573656718'], [[[1342.0, 274.0], [1842.0, 269.0], [1843.0, 420.0], [1343.0, 424.0]], '我是 C', '0.7131001591682434'], [[[1801.0, 270.0], [2867.0, 280.0], [2866.0, 423.0], [1800.0, 413.0]], 'arrie Anne, 又', '0.8238681895392281'], [[[2801.0, 266.0], [4757.0, 266.0], [4757.0, 428.0], [2801.0, 428.0]], '欢迎收看 计算机科学速成课!', '0.8820517786911556']]

Repository owner locked and limited conversation to collaborators Oct 16, 2023
@SWHL SWHL converted this issue into discussion #44 Oct 16, 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

1 participant