Ask Your Question

MxBx's profile - activity

2020-04-21 01:45:58 -0600 received badge  Popular Question (source)
2019-01-02 07:28:32 -0600 answered a question how to create and run video at the same time.

Assuming you just wan to show the processed frame, here is what your loop could look like. Mat in_frame, res_frame; Vid

2019-01-01 14:26:01 -0600 commented answer Building OpenCV with CUDA (Win10, VS 2017)

Thanks @gromtron.

2019-01-01 14:25:36 -0600 marked best answer Building OpenCV with CUDA (Win10, VS 2017)

Hi, I am building OpenCV (4.0.0) with CUDA (10), TBB, MKL, VTK, Eigen on MS VIsual Studio 2017 (15.9.4) Evrything seems to work except that I get this error while building the INSTALL project in RELEASE mode. (I haven'T tried out the debug mode yet).

I get these four errors

54>c:\software\opencv\opencv\modules\core\include\opencv2\core\cuda\detail/color_detail.hpp(535): error : dynamic initialization is not supported for a __constant__ variable

54>c:\software\opencv\opencv\modules\core\include\opencv2\core\cuda\detail/color_detail.hpp(584): error : dynamic initialization is not supported for a __constant__ variable

54>c:\software\opencv\opencv\modules\core\include\opencv2\core\cuda\detail/color_detail.hpp(674): error : dynamic initialization is not supported for a __constant__ variable

54>c:\software\opencv\opencv\modules\core\include\opencv2\core\cuda\detail/color_detail.hpp(751): error : dynamic initialization is not supported for a __constant__ variable

from these four lines

(535) __constant__ float c_RGB2YUVCoeffs_f[5] = { B2YF, G2YF, R2YF, B2UF, R2VF };
(584) __constant__ float c_YUV2RGBCoeffs_f[5] = { U2BF, U2GF, V2GF, V2RF };
(674) __constant__ float c_RGB2YCrCbCoeffs_f[5] = {R2YF, G2YF, B2YF, YCRF, YCBF};
(751) __constant__ float c_YCrCb2RGBCoeffs_f[5] = {CR2RF, CR2GF, CB2GF, CB2BF};

I am kind of clueless how to deal with it. Any help would be much appreciated. Thanks!

2019-01-01 14:25:36 -0600 received badge  Scholar (source)
2018-12-20 07:55:48 -0600 asked a question Building OpenCV with CUDA (Win10, VS 2017)

Building OpenCV with CUDA (Win10, VS 2017) Hi, I am building OpenCV (4.0.0) with CUDA (10), TBB, MKL, VTK, Eigen on MS V