diff --git a/client/build_deb.sh b/client/build_deb.sh index c0bc252..493a241 100755 --- a/client/build_deb.sh +++ b/client/build_deb.sh @@ -27,6 +27,12 @@ fpm -s python --python-bin python3 --python-package-name-prefix python3 \ -d "libnginx-mod-rtmp" \ -d "libatlas-base-dev" \ -d "python3-numpy" \ + -d "opencv-dev" \ + -d "opencv-libs" \ + -d "opencv-licenses" \ + -d "opencv-main" \ + -d "opencv-python" \ + -d "opencv-scripts" \ -d "compsrv" \ --python-install-lib "/usr/local/lib/python3.9/dist-packages" \ -v $VERSION -t deb setup.py diff --git a/client/postinstall.sh b/client/postinstall.sh index 92f9f81..2612645 100644 --- a/client/postinstall.sh +++ b/client/postinstall.sh @@ -6,9 +6,6 @@ fi pip3 install requests flask -#echo "Setting up opencv4" -#pkg-config --modversion opencv4 - echo "Setting up nginx rtmp server" sudo /etc/init.d/nginx start