From cd635884b34e205798eaf9874ff6de5c74e05543 Mon Sep 17 00:00:00 2001 From: "Fabio R. D. de Barros" Date: Wed, 19 Feb 2025 00:42:50 -0300 Subject: [PATCH] Update install.sh --- install.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/install.sh b/install.sh index b78729c60..e9d9107d8 100755 --- a/install.sh +++ b/install.sh @@ -61,9 +61,9 @@ echo "Essential dependencies installed." # OpenCV Dependency echo "Downloading OpenCV..." -wget https://github.com/opencv/opencv/archive/4.1.0.zip -unzip 4.1.0.zip -cd opencv-4.1.0 +wget https://github.com/opencv/opencv/archive/4.0.1.zip +unzip 4.0.1.zip +cd opencv-4.0.1 mkdir -p build cd build echo "Installing OpenCV..." @@ -71,8 +71,8 @@ cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D WITH_TBB make -j4 sudo make install cd ../.. -rm 4.1.0.zip -sudo rm -r opencv-4.1.0 +rm 4.0.1.zip +sudo rm -r opencv-4.0.1 echo "OpenCV installed." # dlib dependecy @@ -98,4 +98,4 @@ cd build cmake -D CMAKE_CXX_COMPILER=g++-8 -D CMAKE_C_COMPILER=gcc-8 -D CMAKE_BUILD_TYPE=RELEASE .. make cd .. -echo "OpenFace successfully installed." \ No newline at end of file +echo "OpenFace successfully installed."