Righto, I'm getting this issue... cv::cuda::getDeviceEnabledCount() == 0
Platform Specifications:
-Jetson TX2
-Ubuntu 16.04
-OpenCV 3.4.2
I have a usr/local/cuda folder. I just reinstalled OpenCV by grabbing the newest release from GitHub, cmaking and then making it.
If I manage to figure it out, I'll be sure to update this.
Any tips would be greatly appreciated.
I set the cmake "WITH_CUDA" flag to on in the opencv folder I DL'd. Fixed me up m880s
Related
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.
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
After multiple attempts I keep getting this error. Apparently when I run cmake
opencv_calib3d dependency can't be resolved
I'm not sure how to resolve it, no other libraries seem to be missing; I have calib3d in the modules directory of opencv-3.1.0, and I've installed all basic opencv libraries. In general, everything else seems to be working just fine. Any suggestions?
try suffixing the version :
opencv_calib3d310 //for opencv 3.1
I have a problem installing sikuli on fedora 16 its a 64 bits architecture, my main problem comes with the compilation of opencv, sikuli requires the 2.1 version of opencv and in the cmake step it tells me it can not find some libraries. I have tried installing the libraries and creating symbolic links but it still will not work, does anybody knows a good tutorial or some good ideas to solve my problem?
I'd recommend you to raise a question on Sikuli bug tracker https://answers.launchpad.net/sikuli because it's quicker to get the response from developers there.
Here is a question similar to your issue: https://answers.launchpad.net/sikuli/+question/198796
I am new to the Linux scene and I am trying to get OpenCV installed and running on our server as I need it to build and run a few applications on the system. I have followed the Ubuntu package Install directions, but I seem to have an issue when I get to the install command. I get the terminal saying that it is reading the package list and after a few seconds I get a message saying that opencv cannot be found.
Has anyone had any experiences installing this library and can anyone possibly help guide me on how to use this whole setup? If it's any help I get a 404 error when I try to access the PPA in the update. Did I add the repository incorrectly?
Any advice is greatly appreciated.
OpenCV 2.1 is quite old. Try setting up his new PPA for OpenCV 2.3.1. It has a Natty target.
Hope that's helpful!