From b949765e870c766529cf094ba020ed7b672d47d8 Mon Sep 17 00:00:00 2001 From: HinGwenWoong Date: Wed, 2 Mar 2022 10:01:25 +0800 Subject: [PATCH] Fix doc --- PPOCRLabel/README.md | 6 ++++-- PPOCRLabel/README_ch.md | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/PPOCRLabel/README.md b/PPOCRLabel/README.md index 9fc5f343..0e0fc546 100644 --- a/PPOCRLabel/README.md +++ b/PPOCRLabel/README.md @@ -54,7 +54,8 @@ PPOCRLabel can be started in two ways: whl package and Python script. The whl pa ```bash pip install PPOCRLabel # install -PPOCRLabel # run +PPOCRLabel # [Normal mode] for [detection + recognition] labeling +PPOCRLabel --kie True # [KIE mode] for [detection + recognition + keyword extraction] labeling ``` > If you getting this error `OSError: [WinError 126] The specified module could not be found` when you install shapely on windows. Please try to download Shapely whl file using http://www.lfd.uci.edu/~gohlke/pythonlibs/#shapely. @@ -67,7 +68,8 @@ PPOCRLabel # run ```bash pip3 install PPOCRLabel pip3 install trash-cli -PPOCRLabel +PPOCRLabel # [Normal mode] for [detection + recognition] labeling +PPOCRLabel --kie True # [KIE mode] for [detection + recognition + keyword extraction] labeling ``` #### MacOS diff --git a/PPOCRLabel/README_ch.md b/PPOCRLabel/README_ch.md index 67c2e877..917486b7 100644 --- a/PPOCRLabel/README_ch.md +++ b/PPOCRLabel/README_ch.md @@ -57,7 +57,8 @@ PPOCRLabel可通过whl包与Python脚本两种方式启动,whl包形式启动 ```bash pip install PPOCRLabel # 安装 -PPOCRLabel --lang ch # 运行 +PPOCRLabel --lang ch # 启动【普通模式】,用于打【检测+识别】场景的标签 +PPOCRLabel --lang ch --kie True # 启动 【KIE 模式】,用于打【检测+识别+关键字提取】场景的标签 ``` > 注意:通过whl包安装PPOCRLabel会自动下载 `paddleocr` whl包,其中shapely依赖可能会出现 `[winRrror 126] 找不到指定模块的问题。` 的错误,建议从[这里](https://www.lfd.uci.edu/~gohlke/pythonlibs/#shapely)下载并安装 ##### Ubuntu Linux @@ -65,7 +66,8 @@ PPOCRLabel --lang ch # 运行 ```bash pip3 install PPOCRLabel pip3 install trash-cli -PPOCRLabel --lang ch +PPOCRLabel --lang ch # 启动【普通模式】,用于打【检测+识别】场景的标签 +PPOCRLabel --lang ch --kie True # 启动 【KIE 模式】,用于打【检测+识别+关键字提取】场景的标签 ``` ##### MacOS -- GitLab