OpenCV (Open Source Computer Vision Library)

learn more… | top users | synonyms

17
votes
3answers
36k 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 ...
11
votes
3answers
34k 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
24k 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
6answers
3k 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
4answers
56k views

“/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 ...
4
votes
1answer
196 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
4
votes
1answer
16k 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
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
139 views

How to undo apt-get autoremove

I just walked into the trap of calling sudo apt-get install autoremove I did it because I was unable to install sudo apt-get install libopencv-dev because of unmet dependencies. Now my ros-indigo ...
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
2answers
467 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 ...
3
votes
0answers
599 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
3k 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
708 views

CMake OpenCV installation issue

This is driving me nuts for the past three hours. I simply want to install CMake and then install OpenCV 3.1, but I am getting an Unsupported protocol error (please see below). I installed CMake ...
2
votes
2answers
759 views

Missing write permissions in home/user/anaconda2

I am trying to install opencv using the command conda install opencv This command worked on my laptop, but i am getting following error when I try it on my desktop computer. Both systems are ...
2
votes
1answer
3k 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
1k 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
1k 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
106 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
62 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 ...
2
votes
1answer
805 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
561 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
16k 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 ...
1
vote
2answers
2k 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. ...
1
vote
1answer
497 views

libfreetype6-dev : Depends: libfreetype6?

I'm trying to install opencv on ubuntu 14.04 embedded Zynq SoC processor linaro@linaro-nano:~$ sudo apt-get update Ign http://ports.ubuntu.com trusty InRelease Ign ...
1
vote
3answers
844 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
449 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
376 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
2answers
149 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
1k 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
215 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
4k 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
2k 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
1answer
621 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
816 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
22 views

Theano installation corrupted after installing opencv

I've installed theano on ubuntu 16.04. I can specify the installation procedure later if required Some of the system specs are as follows Ubuntu 16.04 CUDA 7.5 NVIDIA Drivers 361 Python 2.7 The ...
1
vote
0answers
107 views

problem installing openCV: libpng16.so.16 warning and make error

I've tried installing openCV 3.1.0 according to this guide on Ubuntu 14.04.1. But it yields to the following warning in the makestep: /usr/bin/ld: warning: libpng16.so.16, needed by ...
1
vote
0answers
47 views

Error in Opencv instalation (error in file: opencv/modules/videoio/src/cap_libv4l.cpp)

I tried to install OpenCV several times but always returns the same error. I'm running Linux - Debian in Beaglebone Black. The configuration is: root@beaglebone:~# uname -a Linux beaglebone ...
1
vote
0answers
455 views

cmake configuration incomplete, errors occurred

I'm trying to install opencv-3.1.0 on Ubuntu 15.10. These are the commands I executed before writing the cmake command: sudo apt-get install build-essential sudo apt-get install cmake git ...
1
vote
0answers
19 views

Is there an equivalent of virtual env but for the whole of ubuntu?

Python has a wonderful tool called a virtual environment, which lets you effectively hermetically seal various python libraries (which may conflict with each other!) from each other. Is there an ...
1
vote
1answer
137 views

Problems installing Opencv 2.0 on Ubuntu 14.0

I'm having problems trying to install OpenCV 2.0 on Ubuntu 14.04. When I want to install the dependencies I got the following problem: andres@andres-VirtualBox:~$ sudo apt-get install build-essential ...
1
vote
0answers
125 views

How do I resolve dependency issues when installing Emgu CV on Ubuntu 15.10?

I need to install Emgu CV, a .NET wrapper for OpenCV, for my robotics programming class at the instructor's request. The documentation for this software indicates that it is cross-platform and can be ...
1
vote
1answer
125 views

libopencv installation does not work

I am working with Ubuntu 14.04. I wanted to upgrade to the latest version of OpenCV and following some other posts, executed following command to remove the previous version sudo find / -name ...
1
vote
2answers
1k views

OpenCV with CUDA on Ubuntu 14.04 installation error

When I try to install opencv with CUDA 7.0 on Ubuntu 14.04 it returns the same error message. I'm running cmake with the following command cmake -D CMAKE_BUILD_TYPE=RELEASE -D ...
1
vote
0answers
99 views

OpenCV compilation error

I am installing OpenCV 2.4.11 on my Ubuntu platform. It has been build. But on compiling it shows an error: Linking CXX shared library ../../lib/libopencv_core.so /usr/bin/ld: skipping ...
1
vote
1answer
121 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
149 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
227 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
140 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 ...