I have been studying centos for a long time and have never been able to write about it. Today, when I saw an article by a netizen, I will share with you some of the steps for installing opencv below.
Centos opencv has been widely used but is constantly updated. Here we will introduce how to install and use centos opencv to help you install and update the centos opencv system. In Linux
Centos opencv? (OS) (Linux) (centos) (Image Processing) (C/C ++)
Abstract
Centos opencv is a C/C ++ Computer Vision (Computer Vision) function, which can be directly installed on Windows, but in Linux, You need to manually renew your subscription.
Centos 5.1 experience.
Introduction
Step 1:
Go to sourceforge.net: opencv-1.0.0.tar.gz in linuxlinuxunder Open Computer Vision library.
Step 2:
Unzip opencv-1.0.0.tar.gz
[[Email protected] ~] # Tar-zxvf opencv-1.0.0.tar.gz
Step 3:
Go to the opencv Project
[[Email protected] ~] # Cd opencv-1.0.0
Step 4:
In the tutorial environment, set opencv security under/usr/local/opencv
[[Email protected] opencv-1.0.0] #./configure -- prefix =/usr/local/opencv
Step 5:
Centos opencv
[[Email protected] opencv-1.0.0] # Make
Step 6:
Installing centos opencv
[[Email protected] opencv-1.0.0] # make install
Step 7:
Update Dynamic Route results
[[Email protected] opencv-1.0.0] # vi/etc/lD. So. conf
Join
Include lD. So. conf. d/*. conf
/Usr/local/opencv/lib
Stored rows
[[Email protected] opencv-1.0.0] # ldconfig
Step 8:
Whether zookeeper centos opencv is successfully installed
[[Email protected] opencv-1.0.0] # cd samples/C
[[Email protected] C] # gcc-I/usr/local/opencv/include/opencv-L/usr/local/opencv/lib-lhighgui-lstdc ++ drawing. c-o drawing
[[Email protected] C] #./drawing
Install opencv on centos