OpenCV (Open Source Computer Vision Library)

learn more… | top users | synonyms

6
votes
2answers
16k 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
89 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
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
0answers
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
3answers
242 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 ...
2
votes
2answers
2k 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
998 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
515 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
7k 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
91 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
180 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
1k 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
538 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
529 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
618 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
13 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
515 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
79 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
518 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
93 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
3k 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
0answers
337 views

WebCam logitech C905 control in C++ and OpenCV

I am trying to change the the resolution of my webcam from inside my c++ program, which APIs can I use? where can I find copy/paste examples? My webcam works nicely under 12.10 and I can change the ...
1
vote
1answer
851 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
90 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
323 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
32 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
467 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
229 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
156 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
41 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
0answers
661 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: ...
0
votes
1answer
42 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
174 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
238 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
99 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
535 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
68 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
2k 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
0answers
106 views

error in VLC compilation with opencv support

I am trying to compile VLC 2.0 on Ubuntu 13.10 with opencv support (v. 2.4.6.1). The compilation yields the following errors: COMPILE : libopencv_example_plugin_la-opencv_example.lo ...
0
votes
0answers
136 views

Can't boot Ubuntu 13.10 with OpenCV

I'm developing a c++ project on ubuntu 13.10. To compile this project i need OpenCV and Armadillo libraries. After the OpenCV installation (ver. 2.4.6) Ubuntu doesn't run. During the boot appears a ...
0
votes
0answers
241 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
0
votes
1answer
543 views

OpenCV installation problem in ubuntu 13.04

I have downloaded opencv from github. I am following the installation instruction from here. Ubuntu 13.04 64bit system hangs when i run the following command (after 25% complete) make -j Additional ...
0
votes
1answer
169 views

compiled executable cannot run

cpp program. But now I cannot run it. It show that command not found. I compile it by; gcc `pkg-config --cflags opencv` OpenCV_ViolaJones.cpp -o OpenCV_ViolaJones `pkg-config --libs opencv` It's ...
0
votes
1answer
41 views

Problem regarding open cv graphing

I want to know that if i want to do graphing in open cv would i have to install seperate library for this purpose or it can be plotted using other ways.