Hello everyone,
I am trying to use OpenCL (OpenCV 3.3) on a Hummingboard i.MX6 which supports OpenCL 1.1 EP.
I've created a small program that tests the color conversion function from OpenCV, using OpenCV and using OpenCL.
void performOpenCL(const std::string &imagePath, bool useOpenCL)
{
cv::Mat image;
cv::UMat output(cv::USAGE_ALLOCATE_HOST_MEMORY);
cv::ocl::setUseOpenCL(useOpenCL);
image = cv::imread(imagePath);
cv::cvtColor(image, output, cv::COLOR_BGR2HLS);
}
Here is the error :
Has anyone experienced this before ? I'm getting exhausted because I don't really know where this can come from. Also, I don't know how to interpret the error lines : do the line starting with (9xx) come from OpenCL or OpenCV ?
Here is the OpenCV GitHub reference : https://github.com/opencv/opencv/blob/master/modules/core/src/ocl.cpp#L3480
Thank you in advance for your help. :)