How to check for openCV on Ubuntu

pkg-config --modversion opencv

2.3.1





----------------------------------------

from:  http://askubuntu.com/questions/334158/installing-opencv


install_opencv_latest.sh 첨부함.

install_opencv_latest.sh





Here is a script I've made myself. The problem I found with other scripts around are that they do not stop when one command fails. It just blindly follows to the next command, and eventually you end up with no installation.

This script automatically checks for dependencies on the official website, downloads the most stable release, and install it on your system. I've tested it on 14.04 only, and have installed it on several systems with no issues.

To use the script, the download file from here, open a terminal, cd to the directory containing the script and type:

chmod u+x install_opencv_latest.sh

Now just execute the script:

./install_opencv_latest.sh

You will be asked to enter your administrative password, and confirm installation 2-3 times. Just pressY. It will take 10-20 minutes accordind to your specs.

Note that you need to cd to the directory in which you downloaded the script, which would most probably be your Downloads folder:

cd ~/Downloads


설치중 화면




'Linux' 카테고리의 다른 글

Ubuntu 12.04.3 LTS  (0) 2015.11.28
Posted by 세모아
,