Skip to content

Commit

Permalink
update rec doc
Browse files Browse the repository at this point in the history
  • Loading branch information
WenmuZhou committed Feb 3, 2021
1 parent 248669a commit 9427878
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions doc/doc_ch/recognition.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,15 @@ mklink /d <path/to/paddle_ocr>/train_data/dataset <path/to/dataset>
```
" 图像文件名 图像标注信息 "
train_data/train/word_001.jpg 简单可依赖
train_data/train/word_002.jpg 用科技让复杂的世界更简单
train_data/rec/train/word_001.jpg 简单可依赖
train_data/rec/train/word_002.jpg 用科技让复杂的世界更简单
...
```

最终训练集应有如下文件结构:
```
|-train_data
|-rec
|- rec_gt_train.txt
|- train
|- word_001.png
Expand All @@ -70,6 +71,7 @@ train_data/train/word_002.jpg 用科技让复杂的世界更简单

```
|-train_data
|-rec
|- rec_gt_test.txt
|- test
|- word_001.jpg
Expand Down
6 changes: 4 additions & 2 deletions doc/doc_en/recognition_en.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,15 +49,16 @@ It is recommended to put the training images in the same folder, and use a txt f
```
" Image file name Image annotation "
train_data/train/word_001.jpg 简单可依赖
train_data/train/word_002.jpg 用科技让复杂的世界更简单
train_data/rec/train/word_001.jpg 简单可依赖
train_data/rec/train/word_002.jpg 用科技让复杂的世界更简单
...
```

The final training set should have the following file structure:

```
|-train_data
|-rec
|- rec_gt_train.txt
|- train
|- word_001.png
Expand All @@ -72,6 +73,7 @@ Similar to the training set, the test set also needs to be provided a folder con

```
|-train_data
|-rec
|-ic15_data
|- rec_gt_test.txt
|- test
Expand Down

0 comments on commit 9427878

Please sign in to comment.