Skip to content

Commit 323e93b

Browse files
committed
docs: update image format
1 parent c18414c commit 323e93b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/install_usage/rapidocr/usage.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,8 @@ result.vis("vis_result.jpg")
152152
)
153153
```
154154

155+
由于采用Pillow库来打开图像,因此支持传入图像格式与Pillow保持一致,详情参见[image-file-formats](https://pillow.readthedocs.io/en/stable/handbook/image-file-formats.html)
156+
155157
### 输出
156158

157159
RapidOCR输出包括4种类型:`Union[TextDetOutput, TextClsOutput, TextRecOutput, RapidOCROutput]`。这4种类型均是Dataclasses类,可以直接访问对应的键值。

0 commit comments

Comments
 (0)