Install opencv on centos

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.