Ask Your Question

Leonid Volnitsky's profile - activity

2016-03-19 11:26:38 -0600 received badge  Student (source)
2016-02-16 04:13:49 -0600 commented question cuda::Stream in v3 (CudaMem, Stream::enqueUpload())

I was trying to use code from http://stackoverflow.com/questions/17...

2016-02-15 14:19:54 -0600 asked a question cuda::Stream in v3 (CudaMem, Stream::enqueUpload())

I am trying to rewrite some CPU algorithm in OpenCV-3.1 Cuda with streams. I've figured out that API changed. I've looked at the docs, samples directory and I've googled for it. No answer.

It seams that type CudaMem was changed to HostMem. When I am trying to use stream upload, I am getting:

error: ‘class cv::cuda::Stream’ has no member named ‘enqueueUpload’

How to use streams with page locked memory in OpenCV-3.1?

2016-02-08 15:38:52 -0600 received badge  Scholar (source)
2016-02-06 03:26:48 -0600 received badge  Enthusiast
2016-02-02 11:07:56 -0600 commented answer Querying and controlling OpenCV on used accelaration method

Thanks. I wish it was easier to switch or use two versions side by side.

2016-02-01 15:13:14 -0600 commented answer Querying and controlling OpenCV on used accelaration method

Will BUILD_WITH_DEBUG_INFO make opencv application slower?

2016-02-01 07:18:59 -0600 received badge  Supporter (source)
2016-02-01 06:40:50 -0600 received badge  Editor (source)
2016-02-01 06:30:35 -0600 asked a question Querying and controlling OpenCV on used accelaration method

I was doing testing of OpenCV background subtraction algorithms. After recompiling OpenCV (from github, tagged as 3.1) and adding CUDA and EIGEN, I've noticed that MOG2 became about 30% faster but KNN became 4 times slower. I also have OPENCL, IPP, TBB and SSE/AVX enabled. I usually use one universal include file (opencv2/opencv.hpp)

Is there a way to find out what acceleration method OpenCV have used in its functions?

Or is there a way to control what acceleration method will be used?