Merge pull request #2458 from tink2123/cherry-pick
cherry-pick en multi-doc
This commit is contained in:
commit
b12eab3c4d
|
@ -89,7 +89,7 @@ The specific supported [language] (#language_abbreviations) can be viewed in the
|
||||||
|
|
||||||
paddleocr --image_dir doc/imgs/japan_2.jpg --lang=japan
|
paddleocr --image_dir doc/imgs/japan_2.jpg --lang=japan
|
||||||
```
|
```
|
||||||
![](https://raw.githubusercontent.com/PaddlePaddle/PaddleOCR/release/2.0/doc/imgs/japan_2.jpg)
|
![](https://raw.githubusercontent.com/PaddlePaddle/PaddleOCR/release/2.1/doc/imgs/japan_2.jpg)
|
||||||
|
|
||||||
The result is a list, each item contains a text box, text and recognition confidence
|
The result is a list, each item contains a text box, text and recognition confidence
|
||||||
```text
|
```text
|
||||||
|
@ -106,7 +106,7 @@ The result is a list, each item contains a text box, text and recognition confid
|
||||||
paddleocr --image_dir doc/imgs_words/japan/1.jpg --det false --lang=japan
|
paddleocr --image_dir doc/imgs_words/japan/1.jpg --det false --lang=japan
|
||||||
```
|
```
|
||||||
|
|
||||||
![](https://raw.githubusercontent.com/PaddlePaddle/PaddleOCR/release/2.0/doc/imgs_words/japan/1.jpg)
|
![](https://raw.githubusercontent.com/PaddlePaddle/PaddleOCR/release/2.1/doc/imgs_words/japan/1.jpg)
|
||||||
|
|
||||||
The result is a tuple, which returns the recognition result and recognition confidence
|
The result is a tuple, which returns the recognition result and recognition confidence
|
||||||
|
|
||||||
|
@ -159,7 +159,7 @@ im_show.save('result.jpg')
|
||||||
```
|
```
|
||||||
|
|
||||||
Visualization of results:
|
Visualization of results:
|
||||||
![](https://raw.githubusercontent.com/PaddlePaddle/PaddleOCR/release/2.0/doc/imgs_results/korean.jpg)
|
![](https://raw.githubusercontent.com/PaddlePaddle/PaddleOCR/release/2.1/doc/imgs_results/korean.jpg)
|
||||||
|
|
||||||
|
|
||||||
* Recognition
|
* Recognition
|
||||||
|
@ -173,7 +173,7 @@ for line in result:
|
||||||
print(line)
|
print(line)
|
||||||
```
|
```
|
||||||
|
|
||||||
![](https://raw.githubusercontent.com/PaddlePaddle/PaddleOCR/release/2.0/doc/imgs_words/german/1.jpg)
|
![](https://raw.githubusercontent.com/PaddlePaddle/PaddleOCR/release/2.1/doc/imgs_words/german/1.jpg)
|
||||||
|
|
||||||
The result is a tuple, which only contains the recognition result and recognition confidence
|
The result is a tuple, which only contains the recognition result and recognition confidence
|
||||||
|
|
||||||
|
@ -208,7 +208,7 @@ The result is a list, each item contains only text boxes
|
||||||
```
|
```
|
||||||
|
|
||||||
Visualization of results:
|
Visualization of results:
|
||||||
![](https://raw.githubusercontent.com/PaddlePaddle/PaddleOCR/release/2.0/doc/imgs_results/whl/12_det.jpg)
|
![](https://raw.githubusercontent.com/PaddlePaddle/PaddleOCR/release/2.1/doc/imgs_results/whl/12_det.jpg)
|
||||||
|
|
||||||
ppocr also supports direction classification. For more usage methods, please refer to: [whl package instructions](https://github.com/PaddlePaddle/PaddleOCR/blob/release/2.0/doc/doc_ch/whl.md).
|
ppocr also supports direction classification. For more usage methods, please refer to: [whl package instructions](https://github.com/PaddlePaddle/PaddleOCR/blob/release/2.0/doc/doc_ch/whl.md).
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue