Replies: 5 comments 4 replies
-
|
@mkrzywda from rapidocr_onnxruntime import RapidOCR
img_file = "test.png"
engine = RapidOCR()
result, elapse = engine(img_file, return_word_box=True)
|
Beta Was this translation helpful? Give feedback.
-
|
I modified the code to: result = engine(img_path, use_det=True, use_cls=False, use_rec=True, return_word_box=True)However, even though I set Also, why should I use rapidocr_onnxruntime when it doesn't have the |
Beta Was this translation helpful? Give feedback.
-
|
The If you want to get the word bbox of English, you could use the v1.4.0 of |
Beta Was this translation helpful? Give feedback.
-
|
@mkrzywda You can split character into words one by one, separator str/character using “ ” or "",then merge all bboxs in a word. |
Beta Was this translation helpful? Give feedback.
-
|
Any updates in this topic? |
Beta Was this translation helpful? Give feedback.



Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
问题描述 / Problem Description
I have a Python script with RapidOCR set to
return_word_box: True, but it doesn't work as it still generates bounding boxes per line instead of per word. This is critical for me because RapidOCR is a key component of my project, and if it doesn't work correctly with word-level bounding boxes, I'll have to look for another solution.运行环境 / Runtime Environment
WSL + OpenVINO
复现代码 / Reproduction Code
default_config.yaml
可能解决方案 / Possible solutions
Beta Was this translation helpful? Give feedback.
All reactions