Update README.md
This commit is contained in:
parent
30210f5a5a
commit
e38fed17db
14
README.md
14
README.md
|
@ -21,11 +21,11 @@ For text line recognition, we employ the attention-based encoder-decoder on our
|
|||
|
||||
|
||||
## Running Kindai OCR
|
||||
You should first download the pre_trained models and put them into ./pretrain/ folder.
|
||||
Copy your images into ./data/test/ folder
|
||||
run the following script to recognize images:
|
||||
python test.py
|
||||
The recognized text transcription is in ./data/result.xml and the result images are in ./data/result/
|
||||
If you may have to check the path to Japanese font for correct visualization results.
|
||||
fontPIL = '/usr/share/fonts/truetype/fonts-japanese-gothic.ttf' # japanese font
|
||||
You should first download the pre_trained models and put them into ./pretrain/ folder.
|
||||
Copy your images into ./data/test/ folder
|
||||
run the following script to recognize images:
|
||||
python test.py
|
||||
The recognized text transcription is in ./data/result.xml and the result images are in ./data/result/
|
||||
If you may have to check the path to Japanese font for correct visualization results.
|
||||
fontPIL = '/usr/share/fonts/truetype/fonts-japanese-gothic.ttf' # japanese font
|
||||
|
||||
|
|
Loading…
Reference in New Issue