@@ -51,8 +51,15 @@ The downloadable models provided by PaddleOCR include `inference model`, `traine
<aname="Multilingual"></a>
#### Multilingual Recognition Model(Updating...)
**Note:** The configuration file of the new multi language model is generated by code. Take the Italian configuration file as an example:
**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
python3 generate_multi_language_configs.py --help
```
Take the Italian configuration file as an example:
##### 1.Generate Italian configuration file to test the model provided
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/
...
...
@@ -60,18 +67,19 @@ cd PaddleOCR/configs/rec/multi_language/
# This command will write the default parameter to the configuration file.
python3 generate_multi_language_configs.py -l it
```
You can use the `--help` parameter to check which multi language are supported by current PaddleOCR.
```bash
python3 generate_multi_language_configs.py --help
```
If you don't want to use the default path or default parameters, you can modify them according to the following command:
##### 2. Generate Italian configuration file to train your own data
If you want to train your own model, you can prepare the training set file, verification set file, dictionary file and training data path. Here we assume that the Italian training set, verification set, dictionary and training data path are:
- Training set:{your/path/}PaddleOCR/train_data/train_list.txt