From 278530239df738fbc95968625199b39dd6372743 Mon Sep 17 00:00:00 2001 From: WenmuZhou Date: Mon, 21 Sep 2020 16:16:25 +0800 Subject: [PATCH] update doc --- doc/doc_ch/whl.md | 2 +- doc/doc_en/whl_en.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/doc_ch/whl.md b/doc/doc_ch/whl.md index e3439b87..8b8e825a 100644 --- a/doc/doc_ch/whl.md +++ b/doc/doc_ch/whl.md @@ -20,7 +20,7 @@ pip3 install dist/paddleocr-x.x.x-py3-none-any.whl # x.x.x是paddleocr的版本 ```python from paddleocr import PaddleOCR, draw_ocr # Paddleocr目前支持中英文、英文、法语、德语、韩语、日语,可以通过修改lang参数进行切换 -# 参数依次为`zh`, `en`, `french`, `german`, `korean`, `japan`。 +# 参数依次为`ch`, `en`, `french`, `german`, `korean`, `japan`。 ocr = PaddleOCR(use_angle_cls=True, lang="ch") # need to run only once to download and load model into memory img_path = 'PaddleOCR/doc/imgs/11.jpg' result = ocr.ocr(img_path, cls=True) diff --git a/doc/doc_en/whl_en.md b/doc/doc_en/whl_en.md index 2f9b54aa..c83f8321 100644 --- a/doc/doc_en/whl_en.md +++ b/doc/doc_en/whl_en.md @@ -18,7 +18,7 @@ pip3 install dist/paddleocr-x.x.x-py3-none-any.whl # x.x.x is the version of pad ```python from paddleocr import PaddleOCR,draw_ocr # Paddleocr supports Chinese, English, French, German, Korean and Japanese. -# You can set the parameter `lang` as `zh`, `en`, `french`, `german`, `korean`, `japan` +# You can set the parameter `lang` as `ch`, `en`, `french`, `german`, `korean`, `japan` # to switch the language model in order. ocr = PaddleOCR(use_angle_cls=True, lang='en') # need to run only once to download and load model into memory img_path = 'PaddleOCR/doc/imgs_en/img_12.jpg' -- GitLab