diff --git a/.github/workflows/python-release.yml b/.github/workflows/python-release.yml index 4e3a965..dc14d23 100644 --- a/.github/workflows/python-release.yml +++ b/.github/workflows/python-release.yml @@ -55,7 +55,7 @@ jobs: pip install -r requirements/Paddle/requirements.txt python packing_app.py \ --head_str "import sys\nsys.path.append('/usr/local/conta_detect-1.0/python_lib')\nimport paddle\n" \ - --is_exec False + --is_exec True - name: Amd64打包编译 if: ${{ matrix.device_type=='Amd64'}} run: | @@ -66,7 +66,7 @@ jobs: --name 箱号识别服务Amd64 \ --app_name conta_ocr_amd64 \ --lib_path conta_ocr_amd64_lib64 \ - --is_exec False + --is_exec True - name: 发布 uses: softprops/action-gh-release@v1 @@ -108,7 +108,7 @@ jobs: --extra_sys_str /usr/local/site-packages,/usr/local/opencv \ --app_name local_conta_ocr_onnx \ --lib_path local_conta_ocr_x86_lib64 \ - --is_exec False + --is_exec True - name: 发布 uses: softprops/action-gh-release@v1 if: startsWith(github.ref, 'refs/tags/') @@ -154,10 +154,12 @@ jobs: pip install -r requirements.txt pip install -r requirements/RKNN/requirements.txt python packing_app.py \ + --head_str \ + "import sys \nsys.path.append('/usr/local/site-packages/')\nimport ruamel\nimport ruamel.yaml\nimport scipy\nimport scipy.spatial\nimport absl\nimport absl.logging\nimport google\nimport google.protobuf\nimport google.protobuf.descriptor\nimport wrapt\nimport google.protobuf.any_pb2\nimport absl.app\nimport google.protobuf.wrappers_pb2\nimport opt_einsum\nimport gast\nimport astunparse\nimport termcolor\nimport google.protobuf.json_format\nimport absl.testing\nimport absl.testing.parameterized\nimport flatbuffers\nimport requests\nimport h5py\nimport lmdb\nimport sklearn\nimport networkx\nimport onnx.numpy_helper\nimport onnx.backend\nimport onnx.backend.base\nimport ply\nimport ply.lex\nimport ply.yacc\nimport dill\n" \ --extra_sys_str /usr/local/site-packages \ --app_name local_conta_ocr_rknn \ --lib_path local_conta_ocr_aarch64_lib64 \ - --is_exec False + --is_exec True - name: Ascend打包环境准备 if: ${{ matrix.device_type=='Ascend'}} uses: uraimo/run-on-arch-action@v2 @@ -177,10 +179,11 @@ jobs: pip install -r requirements.txt pip install -r requirements/Ascend/requirements.txt python packing_app.py \ + --head_str "import sys \nsys.path.append('/usr/local/Ascend/nnrt/latest/python/site-packages')\nsys.path.append('/usr/local/site-packages')\nfrom acllite.acllite_resource import AclLiteResource\nfrom acllite.acllite_imageproc import AclLiteImageProc\nfrom acllite.acllite_image import AclLiteImage\n" \ --extra_sys_str /usr/local/site-packages \ --app_name local_conta_ocr_ascend \ --lib_path local_conta_ocr_aarch64_lib64 \ - --is_exec False + --is_exec True - name: 发布 uses: softprops/action-gh-release@v1 if: startsWith(github.ref, 'refs/tags/') diff --git a/README.md b/README.md index 8d5bbfc..5837d01 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,16 @@ # 箱号识别服务 -## 箱号识别服务V3.0.2.7 - 2023-10-31 09:21:22 -conta_ocrV3.0.2.7 -* [发布地址](https://github.com/jadehh/ContainerOCR/releases/tag/conta_ocrV3.0.2.7) -* [详细地址](https://github.com/jadehh/jadehh_file/releases/tag/conta_ocrV3.0.2.7) +## 箱号识别服务V3.0.2.8 - 2023-11-01 04:31:19 +conta_ocrV3.0.2.8 +* [发布地址](https://github.com/jadehh/ContainerOCR/releases/tag/conta_ocrV3.0.2.8) +* [详细地址](https://github.com/jadehh/jadehh_file/releases/tag/conta_ocrV3.0.2.8) ### 下载地址 -* [conta_ocr_lib64.zip](https://gh.ddlc.top/https://github.com/jadehh/jadehh_file/releases/download/conta_ocrV3.0.2.7/conta_ocr_lib64.zip) -* [local_conta_ocr_x86_lib64.zip](https://gh.ddlc.top/https://github.com/jadehh/jadehh_file/releases/download/conta_ocrV3.0.2.7/local_conta_ocr_x86_lib64.zip) -* [local_conta_ocr_aarch64_lib64.zip](https://gh.ddlc.top/https://github.com/jadehh/jadehh_file/releases/download/conta_ocrV3.0.2.7/local_conta_ocr_aarch64_lib64.zip) -* [conta_ocr_amd64_lib64.zip](https://gh.ddlc.top/https://github.com/jadehh/jadehh_file/releases/download/conta_ocrV3.0.2.7/conta_ocr_amd64_lib64.zip) +* [conta_ocr_lib64.zip](https://gh.ddlc.top/https://github.com/jadehh/jadehh_file/releases/download/conta_ocrV3.0.2.8/conta_ocr_lib64.zip) +* [local_conta_ocr_x86_lib64.zip](https://gh.ddlc.top/https://github.com/jadehh/jadehh_file/releases/download/conta_ocrV3.0.2.8/local_conta_ocr_x86_lib64.zip) +* [local_conta_ocr_aarch64_lib64.zip](https://gh.ddlc.top/https://github.com/jadehh/jadehh_file/releases/download/conta_ocrV3.0.2.8/local_conta_ocr_aarch64_lib64.zip) +* [conta_ocr_amd64_lib64.zip](https://gh.ddlc.top/https://github.com/jadehh/jadehh_file/releases/download/conta_ocrV3.0.2.8/conta_ocr_amd64_lib64.zip) +* [conta_ocr](https://gh.ddlc.top/https://github.com/jadehh/jadehh_file/releases/download/conta_ocrV3.0.2.8/conta_ocr) +* [local_conta_ocr_onnx](https://gh.ddlc.top/https://github.com/jadehh/jadehh_file/releases/download/conta_ocrV3.0.2.8/local_conta_ocr_onnx) +* [local_conta_ocr_ascend](https://gh.ddlc.top/https://github.com/jadehh/jadehh_file/releases/download/conta_ocrV3.0.2.8/local_conta_ocr_ascend) +* [local_conta_ocr_rknn](https://gh.ddlc.top/https://github.com/jadehh/jadehh_file/releases/download/conta_ocrV3.0.2.8/local_conta_ocr_rknn) +* [conta_ocr_amd64](https://gh.ddlc.top/https://github.com/jadehh/jadehh_file/releases/download/conta_ocrV3.0.2.8/conta_ocr_amd64) ---- \ No newline at end of file