diff --git a/src/opencl/openclwrapper.cpp b/src/opencl/openclwrapper.cpp index 7bbb71948c..70117bb4ce 100644 --- a/src/opencl/openclwrapper.cpp +++ b/src/opencl/openclwrapper.cpp @@ -1998,7 +1998,7 @@ static void populateTessScoreEvaluationInputData( } } - input->pix = pixCreate(input->width, input->height, 1); + input->pix = pixCreate(input->width, input->height, 8 * input->numChannels); } struct TessDeviceScore {