Skip to content

Commit

Permalink
docs: Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
SWHL committed Jul 15, 2024
1 parent b3d861a commit 90024f8
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 6 deletions.
13 changes: 10 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,15 @@ pip install rapidocr_onnxruntime

### Usage

```bash
rapidocr_onnxruntime -img 1.jpg
```python
from rapidocr_onnxruntime import RapidOCR

engine = RapidOCR()

img_path = 'tests/test_files/ch_en_num.jpg'
result, elapse = engine(img_path)
print(result)
print(elapse)
```

### Documentation
Expand All @@ -81,7 +88,7 @@ Full documentation can be found on [docs](https://rapidai.github.io/RapidOCRDocs

<p align="left">
<a href="https://github.com/RapidAI/RapidOCR/graphs/contributors">
<img src="https://contrib.rocks/image?repo=RapidAI/RapidOCR" width="50%"/>
<img src="https://contrib.rocks/image?repo=RapidAI/RapidOCR&max=400&columns=20" width="50%"/>
</a>
</p>

Expand Down
13 changes: 10 additions & 3 deletions docs/README_zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,15 @@ pip install rapidocr_onnxruntime

### 使用

```bash
rapidocr_onnxruntime -img 1.jpg
```python
from rapidocr_onnxruntime import RapidOCR

engine = RapidOCR()

img_path = 'tests/test_files/ch_en_num.jpg'
result, elapse = engine(img_path)
print(result)
print(elapse)
```

### 文档
Expand All @@ -82,7 +89,7 @@ rapidocr_onnxruntime -img 1.jpg

<p align="left">
<a href="https://github.com/RapidAI/RapidOCR/graphs/contributors">
<img src="https://contrib.rocks/image?repo=RapidAI/RapidOCR" width="50%"/>
<img src="https://contrib.rocks/image?repo=RapidAI/RapidOCR&max=400&columns=20" width="50%"/>
</a>
</p>

Expand Down

0 comments on commit 90024f8

Please sign in to comment.