daacj.blogg.se

Install opencv 2.4.9 ubuntu 18
Install opencv 2.4.9 ubuntu 18












install opencv 2.4.9 ubuntu 18

(a) find this line and replace it find_cuda_helper_libs(nppi) According to and other resources, there are four files we need to modify: There are some issues for cuda≥9 to use OpenCV 2.X version so we need to configure it. Get opencv-2.4.9 using wget: wget unzip opencv-2.4.9.zip cd opencv-2.4.9 mkdir build cd build Cuda 9.0 (9.1 should also work), ensure your CUDA is compatible with your GPUįirstly, install some depedencies as following: (you can put them into a shell file and then execute it.) sudo apt-get install build-essential sudo apt-get install cmake git libgtk2.0-dev pkg-config libavcodec-dev libavformat-dev libswscale-dev sudo apt-get install python-dev python-numpy libtbb2 libtbb-dev libjpeg-dev libpng-dev libtiff-dev libjasper-dev libdc1394-22-dev sudo apt-get install libtiff4-dev libopenexr-dev libeigen2-dev yasm libopencore-amrnb-dev libtheora-dev libvorbis-dev libxvidcore-dev sudo apt-get install python-tk libeigen3-dev libx264-dev libqt4-dev libqt4-opengl-dev sphinx-common texlive-latex-extra libv4l-dev default-jdk ant libvtk5-qt4-dev.I finally succeeded by re-installing the OS (Ubuntu) and then install all of the things one by one. The most important thing that I learned in my path of building Caffe is - Never think of restarting from scratch is a waste of time.

install opencv 2.4.9 ubuntu 18 install opencv 2.4.9 ubuntu 18

Here I record my procedure of building Caffe and OpenCV, with CUDA on my Ubuntu system. One of the most annoying I found recently, is trying to spending a couple of days only to build an environment for experiment while have not started any experiment yet. There are quite a lot of things you could feel annoying about the research. Build OpenCV 2.4.9 & Caffe with CUDA 9.0 on Ubuntu 16.04














Install opencv 2.4.9 ubuntu 18