OpenCV 2.4.4 and QT5 - opencv

Is the new OpenCV version supporting QT5 or is still using QT4?
I was looking in the OpenCV changelog to check if the code is compatible with QT5 but could not find any information.
Did someone compiled OpenCV with QT5?

No, OpenCV 2.4.4 doesn't support Qt 5 yet.
However, this answer shows how to build OpenCV 2.4.3 with Qt 5. I believe you'll need to do minor changes to make it work for 2.4.4.

Related

Does a specific Python/C++ version need a specific openCV version?

I'm using python 2.7 in a ROS project with openCV 2.4.8 but this version of openCV doesn't have the barcode detection module. Can I update openCV using the same version of python (2.7) and still working?
I don't know if I can use any version of opencv regardless of the python version.
Thanks in advance

Updating opencv to version 4.5.1

I need to update opencv to version 4.5.1 because there is a function that is not implemented in my current version 3.4.2. (I need to use the SIFT_create function, when I google a bit it seems that they removed it from 3.4.2 because of a patent. However, I have also heard from someone that this function has a different name in 3.4.2, so if you know this different name this is fine as well. I googled it but couldn't find anything about it.)
I tried updating opencv in the anaconda navigator but that didn't work. I tried typing
pip install opencv-python==4.0.0.21
(if I replaced 4.0.0.21 by 4.5.1 it couldn't find the version), but when I type
cv2.__version__
afterwards it still says I'm using version 3.4.2. I found this post: How to upgrade OpenCV in Anaconda (windows)? which says I should use
conda install -c conda-forge opencv=4.3.0
I do this, both the exact same command and the command with 4.3.0 replaced by 4.5.1 but in both cases I only get version 4.0.0 (which apparently also doesn't have the SIFT_create function).
Any idea what I could do?
In the meanwhile I found the answer myself (or rather: with the help of non-internet people).
The problem was that while trying to update opencv, I ended up having two versions of opencv at once. I had opencv 4.5.1 and at the same time I had opencv-python 4.0.0.21 installed. When importing opencv, it chose to import opencv-python in stead of just opencv. When I deleted the opencv-python this fixed the problem.

Code Blocks OpenCV build failed

Having an issue with trying to build any opencv version with code::blocks.
I've have built opencv successfully before and have no idea what the issue is.
I've tried following many different tutorials on building opencv using mingw 4.9.2 and CMake. I have also tried using mingw32 and mingw64.
But I continue to receive the errors shown in the image above.
My question is; What is the issue? How can I fix this? And, lastly, what am I doing wrong?
Found that the version of OpenCV I was using had issues with MinGW. Tested a whole bunch of OpenCV versions (3.3, 3.2, 3.1, 2.4.13, 2.4.13.3).
I found that OpenCV version 2.4.9 with the latest version of CMake and MinGW worked.
Thought I'd leave this here to help anyone else having issues with creating OpenCV to work with MinGW/Code::Blocks

OpenCV for python 3.X

Does anyone know if I can use the OpenCV library in python 3.X? or should I stick to using scikit-image for task like object recognition?
I want to try out openCV but decided last year to swich from 2.7.
I searched for packets here:
http://www.lfd.uci.edu/~gohlke/pythonlibs/#opencv
But none exist for python 3
ccsv: As of 4 June 2015, Christoph Gohlke's site is now updated with the latest release of OpenCV 3.0 with Python 3.x bindings:
http://www.lfd.uci.edu/~gohlke/pythonlibs/#opencv
AFAIK you can build the latest Trunk of OpenCV yourself with Python 3.x bindings.
As you can see here in the logs, Python 3.x support was added 2013 already and should work.
For information about how you can build OpenCV look here.

About installing the open cv library

sir,
I have tried my level best to install open cv library 2.2.0 version.but it has'nt suceeded
it shows that errors in linking the library hughigh,
whether we wanted to insatll the ipp library prior to install the opencv?
please help me ?..............
I can only recommend the install advice on the OpenCV page. If you are using a unix download the source of the library you want to install and then use cmake to install the library. That usually works fine for me.
Try installing the 1.1 version of OpenCV.
The 2.x version is brand new and as of Nov 1 2009 you will have difficulty finding documentation for that. The 1.1 version of OpenCV, on the other hand, is very well documented and you should have no trouble finding online tutorials for your platform that walk you through the installation process step-by-step.
As an aside: "IPP" refers to Intel's Performance Primitives. In the 1.1 version these are entirely optional. OpenCV does not require them. If you have the Performance Primitives installed, however, your OpenCV code may run faster. (For me it cut down my image processing time by a factor of five.) Once you get everything up and running you can purchase the IPP library from intel here: http://software.intel.com/en-us/intel-ipp/

Resources