Ask Your Question

TrueBers's profile - activity

2020-09-21 19:49:04 -0600 received badge  Notable Question (source)
2017-01-30 08:22:19 -0600 received badge  Popular Question (source)
2015-10-10 04:29:43 -0600 received badge  Nice Question (source)
2015-04-17 06:40:13 -0600 received badge  Taxonomist
2013-04-09 15:46:38 -0600 commented answer BackgroundSubtractor::getBackgroundImage in pure C

Thank you! Already started to implement the whole program in C++ :D

2013-04-09 14:13:25 -0600 received badge  Editor (source)
2013-04-09 14:10:44 -0600 asked a question BackgroundSubtractor::getBackgroundImage in pure C

Hi, guys!
I'm a bit confused with algos using in pure C. I didn't find C-interfaces for BackgroundSubtractor(MOG)::getBackgroundImage. How should one use it properly? I suspect, it must be implemented by myself if I want to use pure C? Are there some short examples in C?
Thanks!

2012-08-21 08:36:38 -0600 commented answer Huge time to upload data to GPU

Oh, thank you for explanation!

2012-08-21 08:28:42 -0600 received badge  Scholar (source)
2012-08-21 08:27:53 -0600 received badge  Supporter (source)
2012-08-21 05:39:45 -0600 received badge  Student (source)
2012-08-21 05:00:38 -0600 received badge  Organizer (source)
2012-08-21 04:59:55 -0600 asked a question Huge time to upload data to GPU

Good day! I've just built the latest master branch of OpenCV with CUDA support. So, I tried some sample code:

Mat shot = imread("D:\\shot.bmp"); // Shot.bmp is a picture 1571x1002
gpu::GpuMat gpuShot;
gpuShot.upload(shot);

The last line "gpuShot.upload(shot);" takes huge time to invoke! It takes about 4-5 seconds to upload to GPU! Is it normal for that? I don't think so... BTW: My hardware is GeForce GT 520.

And second question: the file "opencv_gpu249d.dll" has size about 250 Mb! Meanwhile, "opencv_gpu242d.dll" from official prebuild boundle (v.2.4.2) has size approx 800 Kb. What the hell of a size? And what I doing wrong? Please help, thanks.