Ask Your Question

Revision history [back]

May be you 've got a problem with ocl. may be you can insert this line before pMOG2->app :

cv::ocl::setUseOpenCL(false);

May be you 've got a problem with ocl. may be you can insert this line before pMOG2->app :

cv::ocl::setUseOpenCL(false);

You can try this example too

May be you 've got a problem with ocl. may be you You can insert this line before pMOG2->app :to disable opencl call.

cv::ocl::setUseOpenCL(false);

You can try this example too

May be you 've got a problem with ocl. You can insert this line before pMOG2->app to disable opencl call.

#include <opencv2/core/ocl.hpp>
cv::ocl::setUseOpenCL(false);

You can try this example too