echo === echo === Install the required packages === echo === echo adlink | sudo -S apt-get update echo adlink | sudo -S apt-get install python3-pip python-gi-dev python3-gst-1.0 -y echo === echo === Install the GStreamer Python plugin loader === echo === git clone -b 1.14 https://github.com/GStreamer/gst-python.git echo === echo === Install the build tool === echo === pip3 install --user scikit-build pip3 install --user meson ninja echo === echo === Add the Python binary search path === echo === export PATH=~/.local/bin:$PATH echo === echo === Build and install gst-python === echo === cd gst-python meson _build -Dprefix=$PWD/local ninja -C _build install echo === echo === Copy GStreamer Python plugin loader === echo === echo adlink | sudo -S cp local/lib/aarch64-linux-gnu/gstreamer-1.0/libgstpython.so /usr/lib/aarch64-linux-gnu/gstreamer-1.0 echo === echo === Install the required Python packages === echo === echo adlink | sudo -S apt-get install python3-numpy python3-opencv -y echo adlink | sudo -S pip3 install boto3 echo === echo === Check for installed Python plugins === echo === cd .. GST_DEBUG=pyplugin:7 gst-inspect-1.0 python echo === echo === Remove previous ADLINK EVA SDK versions === echo === sudo /opt/adlink/eva/uninstall.sh -y echo === echo === Change mode and run install package === echo === wget http://ftp.adlinktech.com/image/EVA/v3.0/EVA_SERP_3.1.1_aarch64-linux-gnu_b34dc9c.zip mv EVA_SERP_3.1.1_aarch64-linux-gnu_b34dc9c.zip EVA_SERP_3.1.1_aarch64-linux-gnu_b34dc9c.run chmod +x EVA_SERP_3.1.1_aarch64-linux-gnu_b34dc9c.run echo === echo === Install the ADLINK EVA SDK === echo === sudo ./EVA_SERP_3.1.1_aarch64-linux-gnu_b34dc9c.run -- -s echo === echo === Set environment variables for the ADLINK EVA SDK === echo === source /opt/adlink/eva/scripts/setup_eva_envs.sh echo 'source /opt/adlink/eva/scripts/setup_eva_envs.sh' >> ~/.bashrc echo 'ADDEBUG=y' >> ~/.bashrc source /opt/adlink/eva/scripts/setup_eva_envs.sh source /opt/adlink/eva/scripts/setup_eva_envs.sh