bootstrap.sh 548 字节
Newer Older
1
# download pre-compiled opencv lib
C
channings 已提交
2 3 4 5 6 7 8 9
#OPENCV_URL=https://bj.bcebos.com/paddleseg/deploy/opencv3.4.6gcc4.8ffmpeg.tar.gz2
#if [ ! -d "./deps/opencv3.4.6gcc4.8ffmpeg/" ]; then
#    mkdir -p deps
#    cd deps
#    wget -c ${OPENCV_URL}
#    tar xvfj opencv3.4.6gcc4.8ffmpeg.tar.gz2
#    cd ..
#fi
C
channings 已提交
10 11
OPENCV_URL=https://paddleseg.bj.bcebos.com/deploy/docker/opencv3gcc4.8.tar.bz2
if [ ! -d "./deps/opencv3gcc4.8" ]; then
12 13 14
    mkdir -p deps
    cd deps
    wget -c ${OPENCV_URL}
C
channings 已提交
15 16
    tar xvfj opencv3gcc4.8.tar.bz2
    rm -rf opencv3gcc4.8.tar.bz2
17 18
    cd ..
fi