Bug #44
Bug
#44
-
我测试了一下直接使用图片路径传递图片给RapidOcr如果图片两端空白太多,会识别成空。 |
Beta Was this translation helpful? Give feedback.
Answered by
SWHL
Oct 16, 2023
Replies: 2 comments
-
Beta Was this translation helpful? Give feedback.
0 replies
-
这种图不用检测的,可以调节一下参数,这种直接走识别。效果就好了。 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
SWHL
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
这种图不用检测的,可以调节一下参数,这种直接走识别。效果就好了。
调节
width_height_ratio
,计算一下这张图的宽高比,将这个width_height_ratio
值该为比图的宽高比大的值即可。https://github.com/RapidAI/RapidOCR/blob/29d5f5fc01fbff7c49926a3c297fa8a3fb1624af/python/rapidocr_onnxruntime/config.yaml#L7