forked from floratest1/SpireCV
update scripts/x86-cuda/x86-opencv470-cuda-install.sh.
Signed-off-by: jario-jin <jariof@foxmail.com>
This commit is contained in:
parent
2985661e90
commit
dbd60027ef
|
@ -1,5 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
|
||||
wget https://download.amovlab.com/model/deps/opencv-4.7.0.zip
|
||||
wget https://download.amovlab.com/model/deps/opencv_contrib-4.7.0.zip
|
||||
wget https://download.amovlab.com/model/deps/opencv_cache_x86-4.7.0.zip
|
||||
|
@ -59,7 +60,7 @@ cmake -D CMAKE_BUILD_TYPE=Release \
|
|||
-D CUDA_TOOLKIT_ROOT_DIR=/usr/local/cuda \
|
||||
-D OPENCV_ENABLE_NONFREE=ON \
|
||||
-D CMAKE_INSTALL_PREFIX=/usr/local \
|
||||
-D OPENCV_EXTRA_MODULES_PATH=../../opencv_contrib-4.7.0/modules ..
|
||||
-D OPENCV_EXTRA_MODULES_PATH=../../opencv_contrib-4.7.0/modules ..
|
||||
|
||||
make -j2
|
||||
sudo make install
|
||||
|
|
Loading…
Reference in New Issue