mirror of
https://github.com/PaddlePaddle/PaddleOCR.git
synced 2025-12-29 16:08:23 +00:00
Update PPOCRLabel readme
Update PPOCRLabel readme
This commit is contained in:
parent
df001f3cbd
commit
6907b93c5b
@ -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 操作步骤
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user