Skip to content

Commit bb03133

Browse files
committed
chore: update files
1 parent 0344398 commit bb03133

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

docs/install_usage/rapidocr/parameters.md

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -55,18 +55,21 @@ Global:
5555

5656
`return_word_box (bool)`: 是否返回文字的单字坐标。默认为`False`。
5757

58-
- 在`rapidocr>=2.1.0`中,纯中文、中英文混合返回单字坐标,纯英文返回单词坐标。
59-
- 在`rapidocr<=2.0.7`中,纯中文、中英文混合和纯英文均返回单字坐标。
60-
- 在`rapidocr_onnxruntime>=1.4.1`中,汉字返回单字坐标,英语返回单字母坐标。
61-
- 在`rapidocr_onnxruntime==1.4.0`中,汉字会返回单字坐标,英语返回单词坐标。
58+
> 在`rapidocr>=2.1.0`中,纯中文、中英文混合返回单字坐标,纯英文返回单词坐标。
59+
60+
> 在`rapidocr<=2.0.7`中,纯中文、中英文混合和纯英文均返回单字坐标。
61+
62+
> 在`rapidocr_onnxruntime>=1.4.1`中,汉字返回单字坐标,英语返回单字母坐标。
63+
64+
> 在`rapidocr_onnxruntime==1.4.0`中,汉字会返回单字坐标,英语返回单词坐标。
6265

6366
`return_single_char_box (bool)`: 文本内容只有英文和数字情况下,是否返回单字坐标。默认为`False`。
6467

65-
- 在`rapidocr>=3.1.0`中添加该参数,该参数只有在`return_word_box=True`时,才能生效。举例说明:
68+
> 在`rapidocr>=3.1.0`中添加该参数,该参数只有在`return_word_box=True`时,才能生效。
6669

67-
```python
68-
result = engine(img_url, return_word_box=True, return_single_char_box=True)
69-
```
70+
```python
71+
result = engine(img_url, return_word_box=True, return_single_char_box=True)
72+
```
7073

7174
`font_path (str)`: 字体文件路径。如不提供,程序会自动下载预置的字体文件模型到本地。默认为`null`。
7275

0 commit comments

Comments
 (0)