From 918dce63462dd2614acdc3a6594586e812caad19 Mon Sep 17 00:00:00 2001 From: litongjava Date: Fri, 24 Nov 2023 07:27:29 -1000 Subject: [PATCH] add model path the release --- models/readme.md | 10 +++++++++- readme.md | 3 ++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/models/readme.md b/models/readme.md index 18c6d2b..adde5cb 100644 --- a/models/readme.md +++ b/models/readme.md @@ -1 +1,9 @@ -models path \ No newline at end of file +models path +```shell +wget https://github.com/litongjava/tools-ocr/releases/download/model-ppocr-v4/ch_PP-OCRv4_det_infer-onnx.zip +wget https://github.com/litongjava/tools-ocr/releases/download/model-ppocr-v4/ch_PP-OCRv4_rec_infer-onnx.zip +mkdir -p models/ch_PP-OCRv4_det_infer +mkdir -p models/ch_PP-OCRv4_rec_infer +unzip ch_PP-OCRv4_det_infer-onnx.zip -d models/ch_PP-OCRv4_det_infer +unzip ch_PP-OCRv4_rec_infer-onnx.zip -d models/ch_PP-OCRv4_rec_infer +``` \ No newline at end of file diff --git a/readme.md b/readme.md index cce79dd..d092be0 100644 --- a/readme.md +++ b/readme.md @@ -11,7 +11,8 @@ ## 安装 > - **安装路径请勿包含中文字符**; > - 本程序使用 JavaFX 开发,提供的安装包中已经包含了Java -> - 从release下载最新版本解压安装即可 +> - 从[release](https://github.com/litongjava/tools-ocr/releases/)下载最新版本解压安装即可 + ## 程序使用 ### 启动截图