Search This Blog

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

Thursday, October 25, 2012

Stereo Vision: An Introduction


I started working on stereoscopic vision last year. It happens to be an exciting topic and this topic is still in its infancy. So there is a lot of scope for good quality research in this area. I'm gonna give you an introduction as to what stereo vision means.
Stereo vision is the technique of getting the 3D information of a scene from two different 2D views of the scene. Actually even our eyes work on the very same principle. They take two 2D images of the scene (we got two eyes), and based on these two images they calculate the 3D model of the scene.

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:

Thursday, September 20, 2012

Installing OpenMPI on Ubuntu 12.04

Installing OpenMPI
Although the instructions are tested on 12.04 but they should work for other flavours of linux. Building Open MPI is typically a combination of running "configure" and "make".

Step 1: Downloading OpenMPI
Download the latest version of OpenMPI from here.

Step 2: Extracting OpenMPI source
Untar and unzip the download file.