This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

SK-AM62A-LP: edgeai-gst-apps-barcode-reader

Part Number: SK-AM62A-LP

Hello,

I was trying to implement the edgeai-gst-apps-barcode-reader available here:

https://github.com/TexasInstruments/edgeai-gst-apps-barcode-reader

I was trying to implement using docker. I am getting error messages. How to implement this using docker???

I was trying to use 

bash docker_build.sh

bash docker_run.sh

bash setup_ti_processor_sdk.sh  

These are available inside docker directory of edgeai-gst-apps

root@am62axx-evm:/opt/edgeai-gst-apps# cd ..
root@am62axx-evm:/opt# git clone https://github.com/TexasInstruments/edgeai-gst-apps-retail-checkout.git
Cloning into 'edgeai-gst-apps-retail-checkout'...
remote: Enumerating objects: 470, done.
remote: Counting objects: 100% (265/265), done.
remote: Compressing objects: 100% (81/81), done.
remote: Total 470 (delta 220), reused 188 (delta 184), pack-reused 205
Receiving objects: 100% (470/470), 19.06 MiB | 6.18 MiB/s, done.
Resolving deltas: 100% (292/292), done.
root@am62axx-evm:/opt# cd /opt/edgeai-gst-apps-retail-checkout
root@am62axx-evm:/opt/edgeai-gst-apps-retail-checkout# ls
CONTRIBUTING  README.md  apps_python  docker              download_test_data.sh                                   init_script.sh   scripts          tests
LICENSE       apps_cpp   configs      download_models.sh  edgeai-gst-apps-retail-checkout_08.06.00_manifest.html  retail-shopping  setup_script.sh
root@am62axx-evm:/opt/edgeai-gst-apps-retail-checkout# cd do
sh: cd: do: No such file or directory
root@am62axx-evm:/opt/edgeai-gst-apps-retail-checkout# cd docker/
root@am62axx-evm:/opt/edgeai-gst-apps-retail-checkout/docker# ls
Dockerfile  docker_build.sh  docker_run.sh  entrypoint.sh  setup_proxy.sh  setup_ti_processor_sdk.sh
root@am62axx-evm:/opt/edgeai-gst-apps-retail-checkout/docker# bash docker_build.sh 
docker_build.sh: line 44: [: : integer expression expected
USE_PROXY = 
REPO_LOCATION = 
Sending build context to Docker daemon  23.04kB
Step 1/24 : ARG USE_PROXY
Step 2/24 : ARG HTTP_PROXY
Step 3/24 : ARG REPO_LOCATION=arm64v8
Step 4/24 : ARG DEBIAN_FRONTEND=noninteractive
Step 5/24 : ARG NPROC=1
Step 6/24 : ARG PROJECT_NAME=edgeai-gst-apps
Step 7/24 : FROM ${REPO_LOCATION}/ubuntu:20.04 AS base-0
invalid reference format
root@am62axx-evm:/opt/edgeai-gst-apps-retail-checkout/docker# bash docker_run.sh 
Unable to find image 'edge_ai_kit:latest' locally
docker: Error response from daemon: pull access denied for edge_ai_kit, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.
See 'docker run --help'.
root@am62axx-evm:/opt/edgeai-gst-apps-retail-checkout/docker# bash setup_proxy.sh 
root@am62axx-evm:/opt/edgeai-gst-apps-retail-checkout/docker# bash docker_build.sh 
docker_build.sh: line 44: [: : integer expression expected
USE_PROXY = 
REPO_LOCATION = 
Sending build context to Docker daemon  23.04kB
Step 1/24 : ARG USE_PROXY
Step 2/24 : ARG HTTP_PROXY
Step 3/24 : ARG REPO_LOCATION=arm64v8
Step 4/24 : ARG DEBIAN_FRONTEND=noninteractive
Step 5/24 : ARG NPROC=1
Step 6/24 : ARG PROJECT_NAME=edgeai-gst-apps
Step 7/24 : FROM ${REPO_LOCATION}/ubuntu:20.04 AS base-0
invalid reference format
root@am62axx-evm:/opt/edgeai-gst-apps-retail-checkout/docker# bash docker_build.sh 
docker_build.sh: line 44: [: : integer expression expected
docker_build.sh: line 48: https://github.com/TexasInstruments/edgeai-gst-apps-barcode-reader.git: No such file or directory
USE_PROXY = 
REPO_LOCATION = 
Sending build context to Docker daemon  23.04kB
Step 1/24 : ARG USE_PROXY
Step 2/24 : ARG HTTP_PROXY
Step 3/24 : ARG REPO_LOCATION=arm64v8
Step 4/24 : ARG DEBIAN_FRONTEND=noninteractive
Step 5/24 : ARG NPROC=1
Step 6/24 : ARG PROJECT_NAME=edgeai-gst-apps
Step 7/24 : FROM ${REPO_LOCATION}/ubuntu:20.04 AS base-0
invalid reference format
root@am62axx-evm:/opt/edgeai-gst-apps-retail-checkout/docker# bash setup_ti_processor_sdk.sh
rm: cannot remove '/usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstvideo4linux2.so': No such file or directory
ln: failed to create symbolic link '/usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstvideo4linux2.so': No such file or directory
setup_ti_processor_sdk.sh: line 67: /usr/local/lib/python3.8/dist-packages/dlr/counter/ccm_config.json: No such file or directory
root@am62axx-evm:/opt/edgeai-gst-apps-retail-checkout/docker# 

Any help is really appreciated. 

  • Hi I think you should again check commands or missing dependencies such as invalid reference formats or missing files, which can be resolved by revising the commands and checking all necessary files and dependencies are present.

  • Hello,

    This demo was not developed with docker in mind. Those files are present purely from the fork of edgeai-gst-apps apps, and should be removed from this repository. Docker is not actually supported for this demo --- I can fix the repo to prevent this confusion in the future. My apologies for the confusion.

    Best,
    Reese

  • Hi Reese,

    Thank you for clarifying. Removing those files from the repository sounds like a good idea to avoid confusion regarding Docker support. Your effort to enhance clarity is appreciated.