Skip to content

Commit 67407c9

Browse files
committed
docs: update README
1 parent f49bcde commit 67407c9

1 file changed

Lines changed: 9 additions & 7 deletions

File tree

README.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,20 +15,20 @@
1515

1616
</div>
1717

18-
### 简介
18+
### 📖 简介
1919

2020
- 该包是将[rapidocr](./rapidocr/install.md)库做了API封装,采用[FastAPI](https://fastapi.tiangolo.com/) + [uvicorn](https://www.uvicorn.org/)实现。
2121
- 定位是一个快速调用`rapidocr`的API接口,没有考虑多进程处理并发请求,如果有这需求的小伙伴,可以看看[gunicorn](https://gunicorn.org/)等。
2222

23-
### 安装
23+
### 🛠️ 安装
2424

2525
```bash linenums="1"
2626
pip install rapidocr_api
2727
```
2828

29-
### 使用
29+
### 🚀 使用
3030

31-
#### 启动服务
31+
#### ▶️ 启动服务
3232

3333
```bash
3434
# 默认参数启动
@@ -38,13 +38,15 @@ rapidocr_api
3838
rapidocr_api -ip 0.0.0.0 -p 9005 -workers 2
3939
```
4040

41-
#### 调用服务
41+
#### 📞 调用服务
42+
43+
💻 命令行使用:
4244

4345
```bash
4446
curl -F image_file=@1.png http://0.0.0.0:9003/ocr
4547
```
4648

47-
Python脚本使用:
49+
🐍 Python脚本使用:
4850

4951
```python
5052
import requests
@@ -59,6 +61,6 @@ with open(img_path, 'rb') as f:
5961
print(response.json())
6062
```
6163

62-
### 文档
64+
### 📚 文档
6365

6466
完整文档请移步:[docs](https://rapidai.github.io/RapidOCRDocs/main/install_usage/rapidocr_api/usage/)

0 commit comments

Comments
 (0)