Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

In relation to the first call overhead can you test if it helps if you add the following in your code #include <opencv2/core/ocl.hpp> and then cv::ocl::setUseOpenCL(false); at the begining.

Yes I know that you are using cv::Mat and not cv::UMat, but I observed a similar behavior in my Code even if I use cv::Mat.