OpenCV (Open Source Computer Vision Library)

learn more… | top users | synonyms

7
votes
2answers
22k views

Installing opencv

I've downloaded opencv but unfortunately I've got no idea how to install it. All the pages I found online were only telling me how to download and install it directly from the console, not what to do ...
6
votes
2answers
15k views

How to install opencv 2.9 for python?

I have been having the exact same problem as described in this post and someone in the answers suggested that you upgrade to opencv version 2.9. I was wondering how do that? I installed the version ...
5
votes
2answers
2k views

How to uninstall OpenCV 2.4.9 completely from Ubuntu 14.04?

I want to integrate OpenCV with qt creator and for that OpenCV 3.0 is required. I have OpenCV 2.4.9 already installed and want to uninstall it completely as it is causing problems in some functions. ...
4
votes
1answer
127 views

What is the path of libraries (samples, docs) setted up from Software Center of Ubuntu 12.04?

I installed OpenCV and its DOC and Samples from software center but I cannot find the them at anywhere. What is the certain location for all these at Ubuntu12.04
3
votes
3answers
21k views

Result of make command is /usr/bin/ld: cannot find -lcudart

I am newbie to Ubuntu and using Ubuntu 14.04 64-bit. I want to make a project that uses cuda and opencv I got the following error when running cmake . && make Linking CXX executable ...
3
votes
2answers
2k views

How to install OpenCV without nVidia drivers

I have a laptop with on-board Intel graphics. I have been using OpenCV for years with this machine and I have managed to avoid manual compilation so far. But in Ubuntu 13.10, when I try to install ...
3
votes
1answer
10k views

Why can't my program find the libraries in “/usr/local/lib”?

I'm on Ubuntu 10.10, and I've just upgraded opencv to 2.4.2. The problem is that each time I open a new shell and try to compile and run, it compiles but doesn't run due to the following error: ...
3
votes
1answer
1k views

Ubuntu 13.10 blank screen with cursor after installing libopencv-dev

After installing libopencv-dev from the Ubuntu repository, I get a blank screen with cursor after logging into a session (after restarting the computer). I think there were some Nvidia-related ...
2
votes
2answers
2k views

Linking error when trying to compile on a shared drive

I am trying to compile OpenCV library on a shared drive on my system. I was able to configure and generate makefiles successfully by using these settings, but when i try to compile I get the following ...
2
votes
1answer
1k views

OpenCV install problems on Studio 12.04 - broken dependencies [duplicate]

Problem: I'm trying to install OpenCV (video analytics) and am following the Ubuntu OpenCV installation documentation. The provided script has a line which executed for some time, taking away more ...
2
votes
1answer
800 views

Does the version of Opencv shipped with 12.04 support v4l2?

How can I tell whether or not the version of OpenCV shipped with Ubuntu 12.04 supports v4l2 devices? I have found a number of (oldish) pages that say OpenCV does support v4l2, but it's not clear to ...
2
votes
1answer
2k views

How do I get OpenCV and Firefly MV working?

I'm trying to get started with the Point Grey Firefly-MV USB camera in Ubuntu. I have followed the instructions from Point Grey, and got completely black images (Yes, the lens cap is off). Does ...
2
votes
1answer
283 views

Opencv commands are needed to be called as root using 'sudo', otherwise shows error

When I enter into my Opencv project directory and do the following command- sudo cmake . sudo make it generates make files without any error and the program runs successfully. But when I do cmake ...
2
votes
0answers
8 views

Two webcams of the same model are not working

I've been developing a dual webcam system for stereoscopic purposes, in a linux enviroment, using c++ with the opencv library The ideal setup would be with 2 webcams of the same model, but it didn't ...
2
votes
0answers
119 views

Simple OpenCV program crashes

I am currently having a problem. I am following the instructions given in this book "OpenCV 2 Computer Vison Application Programming Cookbook" for creating a simple image display program in OpenCV ...
2
votes
1answer
427 views

“make” error when installing OpenCV

[ 38%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/convert.o In file included from /home/bomi/OpenCV/modules/core/src/precomp.hpp:55:0, from ...
2
votes
0answers
354 views

How to control mouse cursor using c?

As in windows there is a function setCursorPos in windows.h for controlling cursor position. What is the way to do this in ubuntu?
1
vote
3answers
680 views

Trouble with aliases and opencv

I have an alias defined to compile an opencv program which goes like this alias gcv='g++ -I/usr/local/include/opencv -lopencv_core -lopencv_imgproc -lopencv_highgui -lopencv_objdetect' Then I go on ...
1
vote
1answer
80 views

Unable to install opencv on 12.04

I want to OpenCV it for image processing in a line tracer robot using camera. I want to install openCV on my 64-bit laptop with ubuntu 12.04 2GB Nvidia card. I tried the command: sudo apt-get ...
1
vote
2answers
25 views

libopencv_features2d.so.2.4 present in /usr/local/lib but executable needs libopencv_features2d.so.2.3

I am a newbie so if this question has been previously asked or it is too rudimentary, please go easy on me and be helpful. I have installed opencv-2.4.0 and now I am working on terrain classification ...
1
vote
1answer
74 views

install opencv-2.4 in beagleboard zm rev c (12.04)

I'm running ubuntu-12.04-preinstalled-desktop-armhf+omap.img in my BBxm. I want to install opencv-2.4 for a software dependency, but apt-get install only gives me opencv-2.3. I want to avoid manual ...
1
vote
1answer
589 views

Are python bindings for OpenCV 2.4.3 available?

I have installed the Libraries and files for OpenCV 2.4.3. However, the Software Center lists just the python bindings for OpenCV2.3. Where do i get the python bindings for 2.4.3 ? How do i install it ...
1
vote
1answer
698 views

How do I install the latest python-opencv in 64-bit Ubuntu?

I heard that OpenCV supports only 32 bit Python. But my OS is Ubuntu 12.04 64 bit and it has Python 2.7 64 bit. How can I install latest OpenCV-Python bindings on this system for 32 bit Python? .
1
vote
2answers
44 views
+50

Unable to insall libgtk2.0-dev on ubuntu 12.04

I am using opencv 3 on ubunut 12.04 and while displaying an image the error message asks me to build the library with libgtk2.0-dev. I tried sudo apt-get install libgtk2.0-dev but I get the following ...
1
vote
0answers
36 views

Ubuntu 14.04 OpenCV3 ffmpeg or libav dependencies

I need to install OpenCV on Ubuntu 14.04 to work with Python3 but the only version that is compatible is OpenCV3 which is at 3.0 RC1 http://opencv.org/downloads.html Following installation ...
1
vote
0answers
90 views

Adding OpenCV CUDA support after installation

I am having a problem. I installed openCV 2.4.10 following this tutorial. http://www.sysads.co.uk/2014/05/install-opencv-2-4-9-ubuntu-14-04-13-10/ At the moment of installation I did not enabled the ...
1
vote
1answer
342 views

Failure to Install opencv 2.4.9 on ubuntu 14.04

I am trying to install opencv 2.4.9 on ubuntu 14.04. I am getting an error while compiling files. When I run: cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D WITH_TBB=ON -D ...
1
vote
0answers
92 views

Open Cv installation problem

I am following this link for installing OpenCv but on the make step I came across an error: home/aman/opencv/opencv/modules/videoio/src/ffmpeg_codecs.hpp:98:7: error: ‘CODEC_ID_H264’ was not ...
1
vote
1answer
51 views

Output of make command FBReader open source - /usr/bin/ld: cannot find -llinebreak

I am new to Ubuntu. I want to make a FBReader open source project. please help me out where I am lacking? Creating libzltext.so.0.14.0 .../usr/bin/ld: **cannot find -llinebreak collect2: ld returned ...
1
vote
0answers
1k views

error adding symbols: DSO missing from command line

I am newbie to Ubuntu.i want to compile a project that uses opencv but it gives following error: cmake . && make /usr/bin/ld: ...
1
vote
0answers
34 views

Using camera in opencv

I want to make a robot and I should do live image processing.so I need to take video from somewhere from a camera (canon powershot A3100) and process it.note that taking video is live means that when ...
1
vote
1answer
2k views

Error while compiling OpenCV in Ubuntu 14.04

I followed the instructions for compiling opencv2.4.9 from Install OpenCV 2.4.9 in Ubuntu 14.04, 13.10 I am getting the following error during the build process. Can someone point out to me how to ...
1
vote
1answer
105 views

installed libopencv results in blackscreen after login

I am new to Ubuntu and set it up a few days ago. Now I wanted to install OpenCV since I need this for university matters. After turning off my pc I was able to log in but afterwards just a black ...
1
vote
1answer
1k views

OpenCV error in setting resolution with c910

I've been trying to use OpenCV to control my webcam (Logitech c910) through python. I 've managed to capture images through .read() but they are 640 x 480 and I haven't managed to set the resolution ...
1
vote
1answer
234 views

How to get older version of opencv

This fails: sudo apt-get -t=2.3.1 install libopencv Is there a way to figure put which command I have to type to get 2.3.1 running? The default on Ubuntu 13.04 is 2.4 Thanks
1
vote
1answer
494 views

image viewer in ubuntu that can show the pixel coordinates and pixel value as well for current mouse location in the image

I am looking for any image viewer in ubuntu which can show the pixel coordinates and pixel value under current location of mouse other than gimp..... thanks for your help
1
vote
0answers
5k views

Trying to compile Opencv C++ code getting some Reference error [closed]

do we have to give path for OpenCV in Ubuntu 13.04.If so Tell me that also ? This is code : #include "opencv2/opencv.hpp" #include "opencv2/video/video.hpp" #include "opencv2/highgui/highgui.hpp" ...
1
vote
1answer
1k views

Find the installation directory of OpenCv

I need to find the installation directory of OpenCv so that I can add it's path to PKG_CONFIG_PATH so I can run OpenCv programs the problem is I don't know where to look for it since I'm completely ...
1
vote
1answer
97 views

How to make package manager recognize libs that were compiled manually?

I had to compile OpenCV 2.4 on my machine. How to make applications installed from synaptic do not ask to install OpenCV 2.3 libs dependencies (since 2.4 is already installed in the system)?
1
vote
1answer
1k views

OpenCV will not install due to libgtk2.0-dev dependencies [duplicate]

I am trying to install OpenCV on Ubuntu 10.10 to use it with python. The problem that I am facing is related to installing gtk2.0-dev. I always get the following error The following packages have ...
0
votes
1answer
820 views

OpenCV Build Error: “Cannot open options file specified with @”

I am having trouble installing OpenCV on my machine. I run Ubuntu 12.04. I have followed this guide: http://www.raben.com/book/export/html/3 in order to install OpenCV 2.4.3 on my linux machine. ...
0
votes
1answer
2k views

use kinect camera as a webcam in ubuntu

I have a python openCV program that uses a webcam to track an image target. I switched computers, but this new computer does not have a webcam. I hooked up my kinect, installed stome stuff from ...
0
votes
4answers
2k views

How to install opencv?

I am trying to learn image processing and obviously opencv is one of the best options. Usually synaptic does all my installing work for me so I just checked the repos. But in the repos there is only ...
0
votes
1answer
72 views

g++:error: `pkg-config --cflags --libs opencv`: No such file or directory

I run a program like this: g++ begueradj.cpp -o begueradj`pkg-config --cflags --libs opencv` I want to run the above command line from a Python file test.py: import subprocess ...
0
votes
1answer
328 views

Cannot install last version of OpenCV on Ubuntu 14.10

I try to install opencv using the instructions from here but I get every time the error Linking CXX shared library ../../lib/libopencv_videoio.so /usr/bin/ld: /usr/local/lib/libavcodec.a(avpacket.o): ...
0
votes
1answer
929 views

cannot ccompile the basic opencv cpp program

I made the ~/.compile_opencv.sh as given https://help.ubuntu.com/community/OpenCV on this website and then I made this file opencvtest.cpp with the following contents . The image path is a valid path ...
0
votes
1answer
558 views

Error Ubuntu 13.10 blackscreen [duplicate]

I installed Ubuntu 13.10 in my PC recently, also installed Eclipse, Qt Creator, Blender and Synaptic (to download all the packages in order to work with OpenCV) everything went fine until i shut down ...
0
votes
1answer
610 views

couldn't load image in opencv(python)

I installed opencv & python in ubuntu12.04. I'm unable to load the image. I tried $ from cv2.cv import * which showed the error "from: can't read /var/mail/cv2.cv" How to solve this?
0
votes
1answer
248 views

Blank screen in Ubuntu 13.10 after login; missing opengl

I had aworking Ubuntu 13.10 on my laptop till yesterday when I installed OpenCV 2.4. It did not cause any immediate problem yesterday but when I turned on the power this morning, I did not get a ...
0
votes
5answers
3k views

Using opencv on 12.04

I have some simple opencv files which I wanted to compile on 12.04. I have installed all the -dev packages They use: #include <cv.h> #include <highgui.h> at the top of the file. ...