Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update readme.md #11

Merged
merged 1 commit into from
May 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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