puku0x / cvdrone

CV Drone (= OpenCV + AR.Drone)
https://github.com/puku0x/cvdrone/wiki/How-to-build
Other
202 stars 94 forks source link

CUDA Support #56

Closed JAbdor7 closed 7 years ago

JAbdor7 commented 7 years ago

Good day,

Is it possible to add CUDA support for Opencv?

Thanks

puku0x commented 7 years ago

Hi,

Yes, you can add the CUDA support by building OpenCV library with WITH_CUDA option.

You need CUDA SDK and OpenCV, CMake, Visual Studio for Windows. For UNIX, please refer to http://www.pyimagesearch.com/2016/07/11/compiling-opencv-with-cuda-support/

Unfortunately, I've never used CUDA. The official tutorial may help you. http://docs.opencv.org/3.1.0/d3/d52/tutorial_windows_install.html

Regards

JAbdor7 commented 7 years ago

Thanks for the information, I've tried without successs with visual studio but it won't work. Does the CvDrone only work with OpenCV 3.1?

puku0x commented 7 years ago

@JAbdor7 CV Drone works with either OpenCV 2.4.x and 3.x. (Current version bundles only 3.1 with opencv_contrib)

Youssef-Salama commented 7 years ago

Is there a 64bit version of CV drone. My entire code is in 64 bit and it uses CUDA 8 supported opencv libraries. Unfortunately, CUDA 8 doesn't have a 32bit version. What should I do?

JAbdor7 commented 7 years ago

Are you able to release a 64 bit version of cv_drone?

puku0x commented 7 years ago

@JAbdor7 Unfortunately, I have no time to update CV Drone now because I should finish two apps until June and July, I'm really sorry.

Youssef-Salama commented 7 years ago

You r library was so nice, it's a shame. My issues is that I am using CUDA which doesn't support 32 bit anymore and I need to somehow control the drone on a 64 bit platform. Can you help with that at all? I need this within 3 weeks for my final part of my Honours Thesis at Western Sydney University. I appreciate your time.

On Mon, Apr 24, 2017 at 8:55 AM, puku0x notifications@github.com wrote:

@JAbdor7 https://github.com/JAbdor7 Unfortunately, I have no time to update CV Drone now because I should finish two apps until June and July, I'm really sorry.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/puku0x/cvdrone/issues/56#issuecomment-296717056, or mute the thread https://github.com/notifications/unsubscribe-auth/AVCoQDzOn7jyXCDOKZJn7Nfczhztk8fsks5rzMYGgaJpZM4Kbm3z .

JAbdor7 commented 7 years ago

Compile opencv in 64 bit, switch pthreads and ffmpeg librarys to 64 bit and build.