kcobra / tesseract-ocr

Automatically exported from code.google.com/p/tesseract-ocr
Other
0 stars 0 forks source link

Returning errors when using Tesseract with OpenCL enabled #1442

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Compiled Tesseract with OpenCL enabled
2. Executed the GetUTF8Text() method.

What is the expected output? What do you see instead?
Supposed to extract the text from a given image faster than usual because 
OpenCL is enabled

What version of the product are you using? On what operating system?
tesseract 3.04.00
leptonica-1.71
zlib1.2.5

OpenCL info:
Found 1 platform.
  Platform name: Apple.
  Version: OpenCL 1.2 (Dec 14 2014 22:29:47).
  Found 2 devices.
    Device 1 name: Intel(R) Core(TM) i5-4250U CPU @ 1.30GHz.
    Device 2 name: HD Graphics 5000.

Please provide any additional information below.
This is the error that I am getting:

DS] Profile read from file (tesseract_opencl_profile_devices.dat).
[DS] Device[1] 1:Intel(R) Core(TM) i5-4250U CPU @ 1.30GHz score is 
14049349632.000000
[DS] Device[2] 1:HD Graphics 5000 score is 14049349632.000000
[DS] Device[3] 0:(null) score is 21474836480.000000
[DS] Selected Device[1]: "Intel(R) Core(TM) i5-4250U CPU @ 1.30GHz" (OpenCL)
OpenCL error code is -54 at   when clEnqueueNDRangeKernel 
kernel_HistogramRectAllChannels .
OpenCL error code is -54 at   when clEnqueueNDRangeKernel 
kernel_HistogramRectAllChannelsReduction .
OpenCL error code is -54 at   when clEnqueueNDRangeKernel 
kernel_ThresholdRectToPix .
OpenCL error code is -54 at   when clEnqueueNDRangeKernel 
kernel_HistogramRectAllChannels .
OpenCL error code is -54 at   when clEnqueueNDRangeKernel 
kernel_HistogramRectAllChannelsReduction .

Original issue reported on code.google.com by raghavr...@gmail.com on 6 Apr 2015 at 6:23

GoogleCodeExporter commented 9 years ago

Original comment by zde...@gmail.com on 16 Apr 2015 at 7:25

GoogleCodeExporter commented 9 years ago
what is the opencl version required for tesseract opencl version?

Original comment by mohammad...@gmail.com on 4 May 2015 at 7:49