OpenCV (Open Source Computer Vision Library)

learn more… | top users | synonyms

10
votes
2answers
21k 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 ...
8
votes
3answers
26k 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
7k views

How to uninstall OpenCV 2.4.9 completely from Ubuntu?

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. ...
5
votes
5answers
437 views

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 ...
4
votes
1answer
142 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
4answers
29k 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
11k 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
3k 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 ...
3
votes
0answers
225 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 ...
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
2k 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
869 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
480 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
2answers
19 views

How can I use OpenCV 3.0 without overwriting my current version of OpenCV (2.4.8) on Ubuntu?

I'm working with ROS indigo on Ubuntu 14.04 LTS, which automatically installs OpenCV 2.4.8 on my Linux machine. I'm very new to how Ubuntu works, so I really don't want to mess with the OpenCV that's ...
2
votes
0answers
43 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
1answer
557 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
394 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
720 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
166 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
59 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
2answers
734 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
1answer
109 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
3k 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
603 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
734 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
0answers
10 views

Opencv: glib Error while creating new windows via OpenCV

I am trying to write a program to display an Image using OpenCV library but when I compile the code it gives some error. I have posted my code and the error message also. This error comes only on ...
1
vote
1answer
72 views

installing opencv full of no

I want to install opencv on Ubuntu 14.04 , in embedded board first : linaro@linaro-nano:~$ sudo apt-get install libfontconfig1-dev libxft-dev libfreetype6=2.5.2-1ubuntu2 libfontconfig1-dev ...
1
vote
3answers
46 views

Unable to locate package libpango1-dev

I'm using Ubuntu 14.04 , OpenCV 3.0.0, this is the list of commands and errors to try my opencv library after being installed linaro@linaro-nano:~/opencv/samples/cpp$ ./cpp-example-facedetect ...
1
vote
0answers
228 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
1answer
57 views

crash while compiling opencv

I'm currently trying to install opencv-3.0.0 on ubuntu 14.04 as per these instructions: http://docs.opencv.org/doc/tutorials/introduction/linux_install/linux_install.html Everything works fine until ...
1
vote
0answers
105 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
0answers
139 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
94 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
2k 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
41 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
116 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
271 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
719 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
6k 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
102 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
494 views

building caffe: failed to see hdf5.h

Hello caffe is a lib for deeplearning. When trying to build that lib under 15.04, the compilation fails with the message: :~/App/caffe$ make all PROTOC src/caffe/proto/caffe.proto CXX ...
0
votes
2answers
974 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
3k 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
3k 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
209 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 ...