Ask Your Question

OpenCV with GPU in application -user system installation question

asked 2013-07-17 12:36:51 -0500

bccopencv gravatar image

I had built OpenCV with GPU support using CMAKE. My Windows system has CUDA toolkit 5.0 installed and has an NVIDIA GeForce Graphics card. I am using the BroxOpticalFlow algorithm in OpenCV inside my application successfully (Using Visual Studio 2008).

What I want to do now is to have my application (with OpenCV) run on any user system. Inside my application I do check whether an NVIDIA card is there on the system or not and if not, then it has a fallback software implementation for the optical flow algorithm. But what I am confused about is

  1. Whether the user system will still need to have NVIDIA toolkit installed on their system for my application to even load properly?

Currently, I am adding cudart64_50_35.dll, npp64_50_35.dll and cufft64_50_35.dll in the application executable folder. The other questions are -

  1. Should these dlls go into a program files folder as a part of my application, Or would it be better to install them into the system32 folder and if so, then how do i reference them into my application?
  2. Are there any other CUDA dependencies that i need to worry about for a user system that does not have an NVIDIA card for my application to load and be able to run the software fallback?
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2013-07-17 18:17:51 -0500

simon111 gravatar image

I recommend you include these dlls into your program, and you'd better load them dynamically.

If user system has an NVIDIA card, your program loads them.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools


Asked: 2013-07-17 12:36:51 -0500

Seen: 501 times

Last updated: Jul 17 '13