Ask Your Question

cannon_dt's profile - activity

2020-07-04 05:16:22 -0600 received badge  Popular Question (source)
2015-10-14 08:14:26 -0600 commented answer setUseOpenCL

Thank you. I did that and it works ok now.

2015-10-13 22:37:04 -0600 commented answer setUseOpenCL

I cannot find this as a Java API, the Core class does not have it (I am developing this using Eclipse/openCV 3.0)

2015-10-13 10:24:35 -0600 asked a question 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