From b2922ee5bca21f030e457b7f56f77a86c607bb0c Mon Sep 17 00:00:00 2001 From: zeus Date: Fri, 12 Nov 2021 16:14:52 +0200 Subject: [PATCH] add setup.sh --- opencv4nodejs_webcam/install-npm-opencv.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opencv4nodejs_webcam/install-npm-opencv.sh b/opencv4nodejs_webcam/install-npm-opencv.sh index 37a567a..c677385 100755 --- a/opencv4nodejs_webcam/install-npm-opencv.sh +++ b/opencv4nodejs_webcam/install-npm-opencv.sh @@ -5,7 +5,7 @@ mkdir /opencv \ && mv /home/${USER1}/${NODEPROJECT}/dlib-master.zip /dlib.zip \ && mv /home/${USER1}/${NODEPROJECT}/opencv-4.x.zip /home/${USER1}/${NODEPROJECT}/opencv_contrib.zip /opencv \ && cd /opencv \ - && unzip -qq opencv.zip \ + && unzip -qq opencv-4.x.zip \ && mv opencv-${OPENCV_VERSION} opencv \ && unzip -qq opencv_contrib.zip \ && mv opencv_contrib-${OPENCV_VERSION} opencv_contrib \