Ask Your Question

Hough transform using CUDA

asked 2013-06-03 09:44:10 -0500

emma gravatar image

Hi, I'm trying to detect circles in an image using CUDA. I found a function called: "gpu::HoughCircles()" in openCV that supposed to do the Hough transform using CUDA. Unfortunately, it doesn't work. I get the message:

"OpenCV Error: No GPU support (The library is compiled without GPU support) in unknown function, file C:/slave/builds/WinInstallerMegaPack/src/opencv/modules/gpu/src/precomp.hpp, line 135"

Does anyone know what the problem is? Thanks in advance, Emma

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2013-06-03 11:55:07 -0500

Vladislav Vinogradov gravatar image

updated 2013-06-05 11:30:21 -0500

This means that OpenCV was built without CUDA support.

Which version do you use? The last one (2.4.5) hasn't prebuilt binaries with CUDA support. Previous releases has binaries with CUDA support in separate folder.

== UPDATE ==

For OpenCV 2.4.4 version you should download separate archive with pre-built binaries with CUDA support.

But this binaries was built with CUDA 4.2. If you want to work with CUDA 5.0 you have to build OpenCV from sources.

edit flag offensive delete link more


I'm using openCV 2.4.4 and cuda toolkit 5

emma gravatar imageemma ( 2013-06-05 08:03:42 -0500 )edit

If you have a windows 7 operating system with Visual Studio 2010, this topic has a link with prebuilt CUDA libraries, however only for architecture 2.1, which is supported by my card. However the topic has a nice guide on how to do everything.

StevenPuttemans gravatar imageStevenPuttemans ( 2013-06-05 12:36:01 -0500 )edit

Question Tools


Asked: 2013-06-03 09:44:10 -0500

Seen: 570 times

Last updated: Jun 05 '13