Skip to content

Commit e0eb1b0

Browse files
authored
Update README.md
1 parent a71fb34 commit e0eb1b0

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,3 +98,20 @@ optional arguments:
9898
--filename FILENAME output filename, leave blank to set default
9999
100100
```
101+
## 4. Extract dataset
102+
From api responed data, you can extract dataset to train **text-recognization** model:
103+
```
104+
python tools/export-dataset.py
105+
```
106+
```
107+
usage: extract-dataset.py [-h] [--respone-dir RESPONE_DIR] [-a OUTPUT_ANNOTATION] [-i OUTPUT_IMAGE_DIR]
108+
109+
optional arguments:
110+
-h, --help show this help message and exit
111+
--respone-dir RESPONE_DIR
112+
dir to api respone
113+
-a OUTPUT_ANNOTATION, --output-annotation OUTPUT_ANNOTATION
114+
path to save annotation file
115+
-i OUTPUT_IMAGE_DIR, --output-image-dir OUTPUT_IMAGE_DIR
116+
path to save annotation file
117+
```

0 commit comments

Comments
 (0)