Skip to content

Commit

Permalink
Correction expression
Browse files Browse the repository at this point in the history
  • Loading branch information
WenmuZhou committed Dec 9, 2020
1 parent 3aae17e commit f103634
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions doc/doc_ch/add_new_algorithm.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ PaddleOCR将一个算法分解为以下几个部分,并对各部分进行模

## 数据加载和处理

数据加载和处理由不同的模块(module)组成,其完成了图片的读取、数据增强和label的制作。这一部分在[ppocr/data](../../ppocr/data)下。 各个文件及文件夹作用说明如下:
数据加载和处理由不同的模块(module)组成其完成了图片的读取、数据增强和label的制作。这一部分在[ppocr/data](../../ppocr/data)下。 各个文件及文件夹作用说明如下:

```bash
ppocr/data/
Expand Down Expand Up @@ -125,7 +125,7 @@ Architecture:

## 后处理

后处理主要完成从网络输出到人类友好结果的变换。这一部分在[ppocr/postprocess](../../ppocr/postprocess)下。
后处理实现解码网络输出获得文本框或者识别到的文字。这一部分在[ppocr/postprocess](../../ppocr/postprocess)下。
PaddleOCR内置了DB,EAST,SAST,CRNN和Attention等算法相关的后处理模块,对于没有内置的组件可通过如下步骤添加:

1.[ppocr/postprocess](../../ppocr/postprocess) 文件夹下新建文件,如 my_postprocess.py。
Expand Down
2 changes: 1 addition & 1 deletion doc/doc_en/add_new_algorithm_en.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ Architecture:

## Post-processing

Post-processing mainly completes the transformation from network output to human-friendly results. This part is under [ppocr/postprocess](../../ppocr/postprocess).
Post-processing realizes decoding network output to obtain text box or recognized text. This part is under [ppocr/postprocess](../../ppocr/postprocess).
PaddleOCR has built-in post-processing modules related to algorithms such as DB, EAST, SAST, CRNN and Attention. For components that are not built-in, they can be added through the following steps:

1. Create a new file under the [ppocr/postprocess](../../ppocr/postprocess) folder, such as my_postprocess.py.
Expand Down

0 comments on commit f103634

Please sign in to comment.