Skip to content

Commit

Permalink
* 更新箱号图片抓拍conta_captureV3.0.1.9
Browse files Browse the repository at this point in the history
  • Loading branch information
jadehh committed Oct 31, 2023
1 parent ddf99ca commit 692a99d
Show file tree
Hide file tree
Showing 2 changed files with 87 additions and 85 deletions.
146 changes: 74 additions & 72 deletions .github/workflows/python-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,76 +117,78 @@ jobs:
"./code/Output/*"
env:
GITHUB_TOKEN: ${{ secrets.GH_PAT }} # 给最高的权限
# aarch64_job:
# # The host should always be Linux
# name: ${{ matrix.device_type }}箱号图片抓拍打包
# runs-on: ${{ matrix.os }}
# strategy:
# fail-fast: false
# matrix:
# os: [ "ubuntu-latest" ] #, "macos-latest", "windows-latest"
# device_type: ["RKNN","Ascend"]
# steps:
# - name: 下载代码
# uses: actions/checkout@v3
# with:
# repository: jadehh/ContainerOCR
# ref: conta_capture
# path: code
# token: ${{ secrets.GH_PAT }} # `GH_PAT` is a secret that contains your PAT
# - name: RKNN打包环境准备
# if: ${{ matrix.device_type=='RKNN'}}
# uses: uraimo/run-on-arch-action@v2
# with:
# arch: aarch64
# distro: ubuntu18.04
#
# # Not required, but speeds up builds by storing container images in
# # a GitHub package registry.
# githubToken: ${{ github.token }}
# dockerRunArgs: |
# --volume "${PWD}/code:/code"
# base_image: jadehh/miniconda3:aarch64-4.9.2
# # Set an output parameter `uname` for use in subsequent steps
# run: |
# cd /code
# pip install -r requirements.txt
# ls requirements/RKNN/requirements.txt -l
# 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" \
# --app_name local_conta_capture_rknn \
# --lib_path local_conta_capture_aarch64_lib64
# - name: Ascend打包环境准备
# if: ${{ matrix.device_type=='Ascend'}}
# uses: uraimo/run-on-arch-action@v2
# with:
# arch: aarch64
# distro: ubuntu18.04
#
# # Not required, but speeds up builds by storing container images in
# # a GitHub package registry.
# githubToken: ${{ github.token }}
# dockerRunArgs: |
# --volume "${PWD}/code:/code"
# base_image: jadehh/miniconda3:aarch64-4.9.2
# # Set an output parameter `uname` for use in subsequent steps
# run: |
# cd /code
# ls requirements/Ascend/requirements.txt -l
# 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_model import AclLiteModel\nfrom acllite.acllite_imageproc import AclLiteImageProc\nfrom acllite.acllite_image import AclLiteImage\nfrom acllite.acllite_resource import AclLiteResource\n" \
# --app_name local_conta_capture_ascend \
# --lib_path local_conta_capture_aarch64_lib64
# - name: 发布
# uses: softprops/action-gh-release@v1
# if: startsWith(github.ref, 'refs/tags/')
# with:
# files:
# "./code/Output/*"
# env:
# GITHUB_TOKEN: ${{ secrets.GH_PAT }} # 给最高的权限
aarch64_job:
# The host should always be Linux
name: ${{ matrix.device_type }}箱号图片抓拍打包
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ "ubuntu-latest" ] #, "macos-latest", "windows-latest"
device_type: ["RKNN","Ascend"]
steps:
- name: 下载代码
uses: actions/checkout@v3
with:
repository: jadehh/ContainerOCR
ref: conta_capture
path: code
token: ${{ secrets.GH_PAT }} # `GH_PAT` is a secret that contains your PAT
- name: RKNN打包环境准备
if: ${{ matrix.device_type=='RKNN'}}
uses: uraimo/run-on-arch-action@v2
with:
arch: aarch64
distro: ubuntu18.04

# Not required, but speeds up builds by storing container images in
# a GitHub package registry.
githubToken: ${{ github.token }}
dockerRunArgs: |
--volume "${PWD}/code:/code"
base_image: jadehh/miniconda3:aarch64-4.9.2
# Set an output parameter `uname` for use in subsequent steps
run: |
cd /code
pip install -r requirements.txt
ls requirements/RKNN/requirements.txt -l
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" \
--app_name local_conta_capture_rknn \
--lib_path local_conta_capture_aarch64_lib64 \
--is_exec True
- name: Ascend打包环境准备
if: ${{ matrix.device_type=='Ascend'}}
uses: uraimo/run-on-arch-action@v2
with:
arch: aarch64
distro: ubuntu18.04

# Not required, but speeds up builds by storing container images in
# a GitHub package registry.
githubToken: ${{ github.token }}
dockerRunArgs: |
--volume "${PWD}/code:/code"
base_image: jadehh/miniconda3:aarch64-4.9.2
# Set an output parameter `uname` for use in subsequent steps
run: |
cd /code
ls requirements/Ascend/requirements.txt -l
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_model import AclLiteModel\nfrom acllite.acllite_imageproc import AclLiteImageProc\nfrom acllite.acllite_image import AclLiteImage\nfrom acllite.acllite_resource import AclLiteResource\n" \
--app_name local_conta_capture_ascend \
--lib_path local_conta_capture_aarch64_lib64 \
--is_exec True
- name: 发布
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files:
"./code/Output/*"
env:
GITHUB_TOKEN: ${{ secrets.GH_PAT }} # 给最高的权限

26 changes: 13 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
# 箱号图片抓拍
## 箱号图片抓拍V3.0.1.8 - 2023-10-10 07:56:37
conta_captureV3.0.1.8
* [发布地址](https://github.com/jadehh/ContainerOCR/releases/tag/conta_captureV3.0.1.8)
* [详细地址](https://github.com/jadehh/jadehh_file/releases/tag/conta_captureV3.0.1.8)
## 箱号图片抓拍V3.0.1.9 - 2023-10-31 08:29:42
conta_captureV3.0.1.9
* [发布地址](https://github.com/jadehh/ContainerOCR/releases/tag/conta_captureV3.0.1.9)
* [详细地址](https://github.com/jadehh/jadehh_file/releases/tag/conta_captureV3.0.1.9)
### 下载地址
* [conta_capture_lib64.zip](https://gh.ddlc.top/https://github.com/jadehh/jadehh_file/releases/download/conta_captureV3.0.1.8/conta_capture_lib64.zip)
* [local_conta_capture_x86_lib64.zip](https://gh.ddlc.top/https://github.com/jadehh/jadehh_file/releases/download/conta_captureV3.0.1.8/local_conta_capture_x86_lib64.zip)
* [local_conta_capture_aarch64_lib64.zip](https://gh.ddlc.top/https://github.com/jadehh/jadehh_file/releases/download/conta_captureV3.0.1.8/local_conta_capture_aarch64_lib64.zip)
* [conta_capture_amd64_lib64.zip](https://gh.ddlc.top/https://github.com/jadehh/jadehh_file/releases/download/conta_captureV3.0.1.8/conta_capture_amd64_lib64.zip)
* [conta_capture](https://gh.ddlc.top/https://github.com/jadehh/jadehh_file/releases/download/conta_captureV3.0.1.8/conta_capture)
* [local_conta_capture_onnx](https://gh.ddlc.top/https://github.com/jadehh/jadehh_file/releases/download/conta_captureV3.0.1.8/local_conta_capture_onnx)
* [local_conta_capture_ascend](https://gh.ddlc.top/https://github.com/jadehh/jadehh_file/releases/download/conta_captureV3.0.1.8/local_conta_capture_ascend)
* [local_conta_capture_rknn](https://gh.ddlc.top/https://github.com/jadehh/jadehh_file/releases/download/conta_captureV3.0.1.8/local_conta_capture_rknn)
* [conta_capture_amd64](https://gh.ddlc.top/https://github.com/jadehh/jadehh_file/releases/download/conta_captureV3.0.1.8/conta_capture_amd64)
* [conta_capture_lib64.zip](https://gh.ddlc.top/https://github.com/jadehh/jadehh_file/releases/download/conta_captureV3.0.1.9/conta_capture_lib64.zip)
* [local_conta_capture_x86_lib64.zip](https://gh.ddlc.top/https://github.com/jadehh/jadehh_file/releases/download/conta_captureV3.0.1.9/local_conta_capture_x86_lib64.zip)
* [local_conta_capture_aarch64_lib64.zip](https://gh.ddlc.top/https://github.com/jadehh/jadehh_file/releases/download/conta_captureV3.0.1.9/local_conta_capture_aarch64_lib64.zip)
* [conta_capture_amd64_lib64.zip](https://gh.ddlc.top/https://github.com/jadehh/jadehh_file/releases/download/conta_captureV3.0.1.9/conta_capture_amd64_lib64.zip)
* [conta_capture](https://gh.ddlc.top/https://github.com/jadehh/jadehh_file/releases/download/conta_captureV3.0.1.9/conta_capture)
* [local_conta_capture_onnx](https://gh.ddlc.top/https://github.com/jadehh/jadehh_file/releases/download/conta_captureV3.0.1.9/local_conta_capture_onnx)
* [local_conta_capture_ascend](https://gh.ddlc.top/https://github.com/jadehh/jadehh_file/releases/download/conta_captureV3.0.1.9/local_conta_capture_ascend)
* [local_conta_capture_rknn](https://gh.ddlc.top/https://github.com/jadehh/jadehh_file/releases/download/conta_captureV3.0.1.9/local_conta_capture_rknn)
* [conta_capture_amd64](https://gh.ddlc.top/https://github.com/jadehh/jadehh_file/releases/download/conta_captureV3.0.1.9/conta_capture_amd64)
----

0 comments on commit 692a99d

Please sign in to comment.