2017-07-05 14:26:21 -0600 | asked a question | Cannot print cv::Size with std::cout I want to print the size of a I did that a lot of times in other applications and correctly worked. However, in the new application I'm writing now I end up with the following build error
The image is correctly loaded, because I can display it through |
2017-05-11 04:28:17 -0600 | asked a question | Curvature-based corner detection algorithm Hi everyone, I wonder if OpenCV implements a curvature-based corner detection algorithm (Harris does not seem to be so, correct me if I'm wrong), or if and how it can be easily implemented with existing methods. In particular, my purpose would concern a splitting of the image contours (returned, e.g., by |
2017-03-17 11:37:40 -0600 | received badge | ● Enthusiast |
2016-11-25 02:59:25 -0600 | asked a question | Is it possible to run ROS Kinetic with OpenCV 2.4.X? Hi everyone, I have ROS Kinetic on Ubuntu 16.04. As stated in the documentation, it is supported by OpenCV 3.1, while all the previous ROS versions are supported by OpenCV 2.4. I would like to run my ROS nodes by linking my 2.4.13 OpenCV libraries, so I linked them in the CMakeLists.txt of my packages, in place of the 3.1 libraries present in ROS. However, when I launch a pair of image publisher and subscriber, the subscriber crashes for segmentation fault in the callback, during the conversion of the image (when a copyTo() is internally called) or with imshow(). I wonder if this a compatibility issue (i.e., Kinetic and Opencv 2.4 cannot work together at all), or it can be related to some coding mistakes. A friend of mine tried to run a node with ROS Indigo and OpenCV 3.1, and it fell in the same problem. That's why I'm afraid it is due to compatibility reasons. Any help or comment is appreciated. Thanks a lot. |
2016-07-09 12:28:30 -0600 | asked a question | Crash apparently occurred on cv::gpu::GpuMat::upload() My application occasionally crashes with the following error message: I am on Ubuntu 12.04, so I ran the application again with (more) |
2016-02-29 07:50:22 -0600 | commented question | OpenCV is built with CUDA but gpu::getCudaEnableDeviceCount() returns 0 If you refer to opencv, I built the 2.4.11 version available on the website, I did not download it from git, if this is what you asked. This is the point: CMake output tells me that CUDA is detected, but when I run some program that should use gpu, the execution fails as it was not present |
2016-02-29 07:32:37 -0600 | commented answer | OpenCV is built with CUDA but gpu::getCudaEnableDeviceCount() returns 0 Yeah, I tried, it's not. Running deviceQuery this is the output message: ./deviceQuery Starting... CUDA Device Query (Runtime API) version (CUDART static linking) cudaGetDeviceCount returned 38 -> no CUDA-capable device is detected Result = FAIL |
2016-02-28 05:07:07 -0600 | commented question | OpenCV is built with CUDA but gpu::getCudaEnableDeviceCount() returns 0 I followed this tutorial (http://pastebin.com/fDpqvSi5) to add the NVIDIA drivers for 12.04, because the standard drivers intallation with the .run file downloaded from nvidia website fails. Btw, I have already enabled CUDA on OpenCV in the past on this pc, but I was on Ubuntu 14.04. Now I need to work on Ubuntu 12.04 and I met this problem, so yes, I have a CUDA capable device. My GPU is an NVIDIA GeForce GTX 850M |
2016-02-26 12:04:00 -0600 | asked a question | OpenCV is built with CUDA but gpu::getCudaEnableDeviceCount() returns 0 Building OpenCV, the cmake output is
(more) |
2015-11-20 05:35:48 -0600 | asked a question | Get intermediate optical flow levels with calcOpticalFlowPyrLk Hi all, I'm using the function calcOpticalFlowPyrLK() to compute the optical flow between a pair of two subsequent images, by passing a corresponding pair of pyramids built with buildOpticalFlowPyramid(). I see that the output of the function is the final optical flow field corresponding to the lowest layer (=highest resolution) of the pyramid, as integration of the optical flows computed in the previous layers. My question is the following: is there a way to get also these intermediate optical flows fields, one for each level of the pyramid? Thanks |