Skip to content

Commit

Permalink
update readme.md (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
GreatV authored May 30, 2024
1 parent 5fa167a commit bfa0d59
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 15 deletions.
10 changes: 3 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,8 @@ PPOCRLabelv2 is a semi-automatic graphic annotation tool suitable for OCR field,
```bash
pip3 install --upgrade pip

# If you have cuda9 or cuda10 installed on your machine, please run the following command to install
python3 -m pip install paddlepaddle-gpu -i https://mirror.baidu.com/pypi/simple

# If you only have cpu on your machine, please run the following command to install
python3 -m pip install paddlepaddle -i https://mirror.baidu.com/pypi/simple
python3 -m pip install paddlepaddle
```

For more software version requirements, please refer to the instructions in [Installation Document](https://www.paddlepaddle.org.cn/install/quick) for operation.
Expand Down Expand Up @@ -103,11 +100,10 @@ python PPOCRLabel.py --kie True # [KIE mode] for [detection + recognition + keyw
```

#### 1.2.3 Build and Install the Whl Package Locally
Compile and install a new whl package, where 0.0.0 is the version number, you can specify the new version in 'setup.py'.

```bash
cd ./PPOCRLabel
python3 setup.py bdist_wheel
pip3 install dist/PPOCRLabel-0.0.0-py2.py3-none-any.whl
pip3 install -e .
```


Expand Down
10 changes: 2 additions & 8 deletions README_ch.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,8 @@ PPOCRLabel是一款适用于OCR领域的半自动化图形标注工具,内置P
```bash
pip3 install --upgrade pip

# 如果您的机器安装的是CUDA9或CUDA10,请运行以下命令安装
python3 -m pip install paddlepaddle-gpu -i https://mirror.baidu.com/pypi/simple

# 如果您的机器是CPU,请运行以下命令安装
python3 -m pip install paddlepaddle -i https://mirror.baidu.com/pypi/simple
python3 -m pip install paddlepaddle -i https://pypi.tuna.tsinghua.edu.cn/simple
```

更多的版本需求,请参照[安装文档](https://www.paddlepaddle.org.cn/install/quick)中的说明进行操作。
Expand Down Expand Up @@ -101,12 +98,9 @@ python PPOCRLabel.py --lang ch

#### 1.2.3 本地构建whl包并安装

编译与安装新的whl包,其中0.0.0为版本号,可在 `setup.py` 中指定新版本。

```bash
cd ./PPOCRLabel
python3 setup.py bdist_wheel
pip3 install dist/PPOCRLabel-0.0.0-py2.py3-none-any.whl -i https://mirror.baidu.com/pypi/simple
pip install -e .
```


Expand Down

0 comments on commit bfa0d59

Please sign in to comment.