Ask Your Question

Revision history [back]

"Why is the first call to openCV so slow"? because in first call opencl code must be compiled. If you really need speed for first call disable opencl :

...
#include <opencv2\core\ocl.hpp >
....

cv::ocl::setUseOpenCL(false);