Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

anyone know how to get a working install of opencv in karmic? I've tried pretty much every way i can find in a google search and none seem to work..

share|improve this question

migrated from stackoverflow.com Nov 22 '09 at 13:49

This question came from our site for professional and enthusiast programmers.

2  
Could you mention what error you are facing ? –  Sathya Nov 22 '09 at 14:09

3 Answers 3

Are you looking for the Open Source Computer Vision library, OpenCV?

The 1.0 version is available in Karmic's universe repositories. You'll need to make sure that repository is enabled in your package manager. According to this post, you want to run this command to install all the library packages, or edit the list to leave off packages you don't want:

sudo apt-get install libcv1 libcvaux1 libcvaux-dev libcv-dev libhighgui1 libhighgui-dev opencv-doc python-opencv

If you want the 2.0 version, you'll need to grab the OpenCV 2.0 source from Sourceforge and build it yourself. See the OpenCV wiki and 2.0 Release Notes for details.

share|improve this answer

I just wrote a guide of how I got it to work, might be use to you -> http://alexsleat.com/2009/12/02/howto-install-opencv-in-ubuntu-karmic-9-10/

share|improve this answer

To install OpenCV using the terminal on Ubuntu:

$ su -
# apt-get update
# apt-get install build-essential
# apt-get install libavformat-dev
# apt-get install x264 v4l-utils ffmpeg
# apt-get install libcv2.3 libcvaux2.3 libhighgui2.3 python-opencv opencv-doc libcv-dev libcvaux-dev libhighgui-dev

OpenCV should be installed in /usr/local/ Installation Directory

You may also want to compile and view examples

$ cp -r /usr/share/doc/opencv-doc/examples .
$ cd examples
$ cd c
$ sh build_all.sh

Source: http://namhuy.net/1205/how-to-install-opencv-on-ubuntu.html

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.