@ -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.
**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
```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
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.
you can generate the default configuration file through the following command, and use the default language dictionary provided by paddleocr for prediction.
```bash
```bash
# The code needs to run in the specified directory
# 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
# Set the required language configuration file through -l or --language parameter
# This command will write the default parameter to the configuration file.
# This command will write the default parameter to the configuration file.
python3 generate_multi_language_configs.py -l it
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
- Use the default dictionary provided by paddleocr:{your/path/}PaddleOCR/ppocr/utils/dict/it_dict.txt
- Training data path:{your/path/}PaddleOCR/train_data
- Training data path:{your/path/}PaddleOCR/train_data
```bash
```bash
# The code needs to run in the specified directory
cd {your/path/}PaddleOCR/configs/rec/multi_language/