Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
SWHL committed Mar 4, 2024
1 parent a2ec4c8 commit a6a9d02
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 4 additions & 0 deletions content/docs/changelog/rapidocr_api.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ description: ""
<a href="https://pepy.tech/project/rapidocr_api"><img src="https://static.pepy.tech/personalized-badge/rapidocr_api?period=total&units=abbreviation&left_color=grey&right_color=blue&left_text=Downloads"></a>
</p>

#### 🥥2024-03-04 v0.0.6 update:
- 优化图像读取部分,与`rapidocr_onnxruntime>=1.3.13`版本保持一致
- 统一接口返回值类型为字典

#### 🍜2023-05-22 api update:
- 将API从ocrweb中解耦出来,作为单独模块维护,详情参见[API](https://github.com/RapidAI/RapidOCR/tree/main/api)
- `rapidocr_web>0.1.6`之后,将不支持`pip install rapidocr_web[api]`方式安装,可直接`pip install rapidocr_api`安装使用。
6 changes: 1 addition & 5 deletions content/docs/install_usage/rapidocr_api.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,11 +105,8 @@ print(response.json())
}
}
```
- 如果没有检测到文字,则会输出空json(`{}`)。
- 如果没有检测到文字,则会输出空字典(`{}`)。
- 示例结果:
<details>
<summary>详情</summary>

```json {linenos=table}
{
"0": {
Expand Down Expand Up @@ -154,6 +151,5 @@ print(response.json())
}
}
```
</details>

{{< alert context="warning" text="OCR API的输出结果为最原始结果,大家可按需进一步扩展。" />}}

0 comments on commit a6a9d02

Please sign in to comment.