You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/doc_en/quickstart_en.md
+6-8
Original file line number
Diff line number
Diff line change
@@ -73,16 +73,14 @@ cd /path/to/ppocr_img
73
73
74
74
If you do not use the provided test image, you can replace the following `--image_dir` parameter with the corresponding test image path
75
75
76
-
**Note**: The whl package uses the `PP-OCRv3` model by default, and the input shape used by the recognition model is `3,48,320`, so if you use the recognition function, you need to add the parameter `--rec_image_shape 3,48,320`, if you do not use the default `PP- OCRv3` model, you do not need to set this parameter.
77
-
78
76
<aname="211-english-and-chinese-model"></a>
79
77
80
78
#### 2.1.1 Chinese and English Model
81
79
82
80
* Detection, direction classification and recognition: set the parameter`--use_gpu false` to disable the gpu device
paddleocr --image_dir ./imgs_en/img_12.jpg --use_angle_cls true --lang en --use_gpu false
86
84
```
87
85
88
86
Output will be a list, each item contains bounding box, text and recognition confidence
@@ -112,7 +110,7 @@ If you do not use the provided test image, you can replace the following `--imag
112
110
* Only recognition: set `--det` to `false`
113
111
114
112
```bash
115
-
paddleocr --image_dir ./imgs_words_en/word_10.png --det false --lang en --rec_image_shape 3,48,320
113
+
paddleocr --image_dir ./imgs_words_en/word_10.png --det false --lang en
116
114
```
117
115
118
116
Output will be a list, each item contains text and recognition confidence
@@ -121,15 +119,15 @@ If you do not use the provided test image, you can replace the following `--imag
121
119
['PAIN', 0.9934559464454651]
122
120
```
123
121
124
-
If you need to use the 2.0 model, please specify the parameter `--version PP-OCR`, paddleocr uses the PP-OCRv3 model by default(`--versioin PP-OCRv3`). More whl package usage can be found in [whl package](./whl_en.md)
122
+
If you need to use the 2.0 model, please specify the parameter `--ocr_version PP-OCR`, paddleocr uses the PP-OCRv3 model by default(`--ocr_version PP-OCRv3`). More whl package usage can be found in [whl package](./whl_en.md)
125
123
<aname="212-multi-language-model"></a>
126
124
127
125
#### 2.1.2 Multi-language Model
128
126
129
-
PaddleOCR currently supports 80 languages, which can be switched by modifying the `--lang` parameter. PP-OCRv3 currently only supports Chinese and English models, and other multilingual models will be updated one after another.
127
+
PaddleOCR currently supports 80 languages, which can be switched by modifying the `--lang` parameter.
In this section, you have mastered the use of PaddleOCR whl package.
212
210
213
-
PaddleOCR is a rich and practical OCR tool library that get through the whole process of data production, model training, compression, inference and deployment, please refer to the [tutorials](../../README.md#tutorials) to start the journey of PaddleOCR.
211
+
PaddleOCR is a rich and practical OCR tool library that get through the whole process of data production, model training, compression, inference and deployment, please refer to the [tutorials](../../README.md#tutorials) to start the journey of PaddleOCR.
0 commit comments