setUseOpenCL
Hi, When I tried a simple face detection code in Java I ran into the foll for some images only: OpenCV Error: Assertion failed (retval == CL_SUCCESS) in cv::ocl::OpenCLBufferPoolImpl::_allocateBufferEntry, file C:\builds\master_PackSlaveAddon-win64-vc12-static\opencv\modules\core\src\ocl.cpp, line 3990 OpenCV Error: Assertion failed (u != 0) in cv::UMat::create, file C:\builds\master_PackSlaveAddon-win64-vc12-static\opencv\modules\core\src\umatrix.cpp, line 274
I dont know why this was happening?
Upon doing some research I found that I have to setUseOpenCL to false to overcome this. However I am unable to locate where this API is defined? Can someone please help?
Thanks, Ananth
What if we dont want to set OPENCL to OFF?