Ninetynine is a creative design & coding agency

Archive for January, 2012

Setting up OpenCV 2.3.1 and Netbeans 7.1 on Ubuntu Oneiric 11.10

without comments

Hi there,

This is a follow-up of my previous post: Setting up OpenCV 2.3 and Netbeans 7.0 on Ubuntu Oneiric 11.10. A couple of days ago Gijzelaar’s PPA for OpenCV has updated from 2.3 to version 2.3.1. So I thought I’d share this with you guys. I also think this is a slightly better approach

OpenCV (Open Source Computer Vision Library) is a library of programming functions mainly aimed at real time computer vision, developed by Intel and now supported by Willow Garage. It is free for use under the open source BSD license. The library is cross-platform. It focuses mainly on real-time image processing. (Wikipedia)

The upgrade did leave my machine with some broken packages, so be cautious! I managed to fix the broken packages, but that’s another story and it probably was a rare case.

Okay, so here is a quick guide:

1. Installation of OpenCV 2.3.1

Launch a terminal and execute these commands. This adds the PPA of our friend Gijs Molenaar, which now contains OpenCV 2.3.1.

$ sudo add-apt-repository ppa:gijzelaar/cuda
$ sudo add-apt-repository ppa:gijzelaar/opencv2.3
$ sudo apt-get update
$ sudo apt-get install libopencv-dev

2. Installation of Netbeans 7.1

Ubuntu 11.10 also comes with Netbeans 6.9, just download the Netbeans 7.1 from the Netbeans Homepage and you’re all set. Be sure you download the version with C/C++ support.

Read the rest of this entry »

Written by ruben

January 8th, 2012 at 12:05 am