OpenCV (Open Source Computer Vision Library)

learn more… | top users | synonyms

6
votes
2answers
18k 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 ...
4
votes
1answer
100 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
8k 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
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
6k 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 ...
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
651 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
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 ...
2
votes
1answer
26 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
1answer
8k 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: ...
2
votes
1answer
243 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
249 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
1answer
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 ...
1
vote
3answers
616 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
25 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
553 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
650 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
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
23 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
1k 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
91 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
820 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
189 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
0answers
4k 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
893 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
91 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
543 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
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
211 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
516 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
238 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. ...
0
votes
1answer
2k views

OpenCV program won't compile (Quantal)

I am trying to compile a simple program using OpenCV in Ubuntu Quantal. I have installed all the OpenCV packages available. My code is the following #include <stdio.h> #include ...
0
votes
1answer
181 views

What is the purpose of configuration file?

I am trying to install opencv in my system by following this link. It says that after installing we need to do some configuration by opening /etc/ld.so.conf.d/opencv.conf and typing a particular ...
0
votes
0answers
24 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. ...
0
votes
2answers
39 views

Unable to install Box2D package

If I try to run sudo apt-get install python-box2d I get this nonsensical error message: Reading package lists... Done Building dependency tree Reading state information... Done You might want ...
0
votes
1answer
2k views

Installing OpenCV in Ubuntu 14.04 [duplicate]

I'm a novice and absolutely new to Ubuntu, although what I'm asking is pretty elaborate I'm sure there must be pretty more users like me wanting to install the latest stable version of OpenCV on my ...
0
votes
0answers
32 views

Flea2 Camera Firewire not detected in opencv ubuntu

I have researched so much to resolve this, but I haven't got a solid solution yet. I am using a Flea2 camera connected to laptop through the firewire port. The Coriander is abe to detect the camera, ...
0
votes
0answers
154 views

/usr/bin/ld: skipping incompatible .//libasmlibrary.so when searching for -lasmlibrary

I am using ubuntu 12.04. I am trying to build asmlibrary from this link https://github.com/greatyao/asmlibrary on my system . opencv2.4.9 is installed on my system. I am trying to run make command and ...
0
votes
1answer
176 views

Using OpenCV with OpenGL

I want to use OpenCV with OpenGL. It says the library has no GPU support because it was compiled without any. Is there an OpenCV library compiled with OpenGL somewhere in the repositories? Or do I ...
0
votes
1answer
637 views

Cannot open 2 USB cameras simultaneously on VLC player Ubuntu 12.04

Cannot open 2 USB cameras simultaneously on VLC player Ubuntu 12.04 How I open a Camera: In terminal (text after the $ prompt = commands that I type): $ ls /dev/video* /dev/video0 /dev/video1 $ vlc ...
0
votes
0answers
356 views

Ubuntu 14.04 openCL and ATI/Intel graphic

I'm wondering if following is possible : I have two graphics cards - ATI and Intel, and installed fglrx driver. In amdcccle I have enabled Intel card. I'm developing OpenCV application where I have ...
0
votes
0answers
126 views

how to install opencv blobs in Ubuntu 13.10

I'm trying to install blobs package on Ubuntu 13.10. But I'm not able to install opencv blobs. I'm getting the error like from package from blobs.BlobResult import CBlobResult ImportError: No module ...
0
votes
1answer
971 views

Install opencv eclipse

I am using ubuntu 13.10 and I am trying to install opencv on eclipse. I am following this tutorial LINK I do not know where is my library. This what I obtain when I try to find the files. ...
0
votes
0answers
97 views

illegal short term buffer state detected

when I use VideoCapture of opencv, it returns this message: [h264 @ 0x11055a0] illegal short term buffer state detected. But the code seems to work fine and have the correct result. Could anyone tell ...
0
votes
1answer
3k views

AttributeError: 'module' object has no attribute

I am trying to get the depth map of two stereo images. I have taken the code from http://docs.opencv.org/trunk/doc/py_tutorials/py_calib3d/py_depthmap/py_depthmap.html I get the following error: ...
0
votes
1answer
287 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