Ask Your Question
0

Opencv with cuda build file too large 916mb

asked 2019-01-06 14:30:02 -0600

blaisexen gravatar image

updated 2019-01-06 14:30:40 -0600

Unavailable: cudaarithm cudabgsegm cudacodec cudafeatures2d cudafilters cudaimgproc cudalegacy cudaobjdetect cudaoptflow cudastereo cudawarping cudev

hi, as I know I only put cudev in opencv modules to build it with CUDA enabled,

what are this modules for? cudaarithm cudabgsegm cudacodec cudafeatures2d cudafilters cudaimgproc cudalegacy cudaobjdetect cudaoptflow cudastereo cudawarping

are they usable for?

I had built the opencv_worldXXX.dll, but file is too large, around 916mb or 1gb

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2019-01-07 03:57:33 -0600

updated 2019-01-07 04:02:31 -0600

Looking over the headers cudev looks like it contains all the OpenCV API to all the CUDA parallel programming primitives. If you don't just want to build your own image processing routines on the GPU then you will need the other modules you mention. To get an idea of the functions each one contains you can check out the headershere.

To reduce the size of your executable I would suggest trying to compile it for the specific architecture you are going to run it on by changing the CUDA_ARCH_BIN flag.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2019-01-06 14:30:02 -0600

Seen: 409 times

Last updated: Jan 07 '19