Search This Blog

Showing posts with label OpenCV. Show all posts
Showing posts with label OpenCV. Show all posts

Friday, June 20, 2014

Installing OpenCV on Ubuntu

opencv logo
To install OpenCV (manual build) in Windows refer to this post (for installation without Intel TBB support) or this post (for installation with Intel TBB support)
I have given three different methods to install OpenCV in Ubuntu. They are presented in increasing order of difficulty (I know you're not going to read past the first one).

Method 1: Using apt-get (Simplest method)

The simplest method to install OpenCV in Ubuntu is by using apt-get. The only problem with this method is that it does not installs the latest OpenCV build. Ubuntu repositories have slightly older versions of OpenCV.

But if that's not a problem to you, just type the following in your terminal:

$ sudo apt-get install libopencv*

Method 2: Use installation script

Sunday, September 30, 2012

Installing OpenCV 2.3.1 with TBB enabled in Windows

opencv logo
(To install OpenCV on Ubuntu refer to this post).
In the last post, I explained how to install OpenCV without any third party libraries. In this one I will explain how to install OpenCV with Intel TBB. For those of you who don't know about TBB, it stands for Threaded Building Blocks. It is a library which greatly simplies creating threaded applications on Intel platform.  Without TBB installed your OpenCV algorithms run only on single core. When OpenCV is installed with TBB, the library automatically uses threading to utilize all the cores available to your processor and hence you get a significant improvement in the speed.

Tuesday, September 25, 2012

Installing OpenCV 2.3.1 on Windows 7

(To install OpenCV on Ubuntu refer to this post).
Installing OpenCV can be tricky on Windows. If you are using 32 bit version of Windows then you are in luck. You will find 32-bit executables ready for deployment. But if you happen to use a 64 bit version of Windows you will need to build the binaries yourself.
Note: This guide does not cover installing third party libraries. (Refer to this post to install OpenCV on windows with Intel TBB support)

You will need the following softwares: