mirror of
https://github.com/PaddlePaddle/PaddleOCR.git
synced 2025-12-28 15:38:18 +00:00
fix doc and mv imgs
This commit is contained in:
parent
c23d6a2df7
commit
b4d0ea7ee6
@ -54,6 +54,8 @@ The downloadable models provided by PaddleOCR include `inference model`, `traine
|
||||
**Note:** The configuration file of the new multi language model is generated by code. You can use the `--help` parameter to check which multi language are supported by current PaddleOCR.
|
||||
|
||||
```bash
|
||||
# The code needs to run in the specified directory
|
||||
cd {your/path/}PaddleOCR/configs/rec/multi_language/
|
||||
python3 generate_multi_language_configs.py --help
|
||||
```
|
||||
|
||||
@ -62,7 +64,7 @@ Take the Italian configuration file as an example:
|
||||
you can generate the default configuration file through the following command, and use the default language dictionary provided by paddleocr for prediction.
|
||||
```bash
|
||||
# The code needs to run in the specified directory
|
||||
cd PaddleOCR/configs/rec/multi_language/
|
||||
cd {your/path/}PaddleOCR/configs/rec/multi_language/
|
||||
# Set the required language configuration file through -l or --language parameter
|
||||
# This command will write the default parameter to the configuration file.
|
||||
python3 generate_multi_language_configs.py -l it
|
||||
@ -74,6 +76,8 @@ If you want to train your own model, you can prepare the training set file, veri
|
||||
- Use the default dictionary provided by paddleocr:{your/path/}PaddleOCR/ppocr/utils/dict/it_dict.txt
|
||||
- Training data path:{your/path/}PaddleOCR/train_data
|
||||
```bash
|
||||
# The code needs to run in the specified directory
|
||||
cd {your/path/}PaddleOCR/configs/rec/multi_language/
|
||||
# The -l or --language parameter is required
|
||||
# --train modify train_list path
|
||||
# --val modify eval_list path
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user