diff --git a/PPOCRLabel/README.md b/PPOCRLabel/README.md index 9fc5f3437af0076bdbe2afedf8c194009c2c0e72..0e0fc54691061e49b64b48cff119abedc4ff6f3f 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 67c2e877288a73b07e5dd1ca90993bde8a96bf20..917486b74bce034578fe4d03b9fb0aec27f29873 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