Update PPOCRLabel readme

Update PPOCRLabel readme
This commit is contained in:
Leif 2022-04-06 11:31:15 +08:00
parent df001f3cbd
commit 6907b93c5b

View File

@ -86,17 +86,18 @@ PPOCRLabel --lang ch --kie True # 启动 【KIE 模式】,用于打【检测+
> 如果上述安装出现问题可以参考3.6节 错误提示
#### 1.2.2 本地构建whl包并安装
#### 1.2.2 通过Python脚本运行PPOCRLabel
如果您对PPOCRLabel文件有所更改例如指定新的内置模型通过Python脚本运行会更加方面的看到更改的结果。如果仍然需要通过whl包启动则需要参考下节重新编译whl包。
```bash
cd PaddleOCR/PPOCRLabel
python3 setup.py bdist_wheel
pip3 install dist/PPOCRLabel-1.0.2-py2.py3-none-any.whl -i https://mirror.baidu.com/pypi/simple
cd ./PPOCRLabel # 切换到PPOCRLabel目录
python PPOCRLabel.py --lang ch
```
#### 1.2.3 通过Python脚本运行PPOCRLabel
#### 1.2.3 本地构建whl包并安装
如果您对PPOCRLabel文件有所更改通过Python脚本运行会更加方面的看到更改的结果
编译与安装新的whl包其中1.0.2为版本号,可在 `setup.py` 中指定新版本。
```bash
cd ./PPOCRLabel # 切换到PPOCRLabel目录
@ -107,7 +108,6 @@ python PPOCRLabel.py --lang ch --kie True # 启动 【KIE 模式】,用于打
```
## 2. 使用
### 2.1 操作步骤