1 | initial version |
"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);