Ask Your Question

OpenCV LINUX Installation

asked 2014-01-08 08:08:35 -0500

Himanshu gravatar image

Hi, Hi,

Can anyone list steps for installing OpenCV on Linux? I have CentOS.


edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2014-01-08 18:12:23 -0500

Nghia gravatar image

This is a general procedure that should work for any Linux system.

Download and extract package

$ cd opencv-2-x-x
$ mkdir build
$ cd build
$ cmake-gui ..

Click 'configure', then 'generate'. Close the GUI.

$ make
(pray everything will go well)
$ make install
edit flag offensive delete link more


Thanks! From where can I get ffmpeg libs for centos to install with opencv?

Himanshu gravatar imageHimanshu ( 2014-01-09 12:26:40 -0500 )edit

If ffmpeg isn't provided by yum you'll have to download/compile it from the ffmpeg website.

Nghia gravatar imageNghia ( 2014-01-09 16:45:28 -0500 )edit

answered 2014-02-22 06:29:44 -0500

Here's a link to install opencv in ubuntu:click here

edit flag offensive delete link more

Question Tools


Asked: 2014-01-08 08:08:35 -0500

Seen: 3,437 times

Last updated: Feb 22 '14