Okay, I took a quick look at the opencl code:
- you are only invoking 255 (16x16) OpenCL kernels at the same time (max).  
This is not enough, not even for a budget GPU.
- the code has some points to discuss (eg: why does it keep the kernel and 
the tesseract dat file in the local directory and not in 
/usr/local/share/tessdata)
-  Most of the issues which have openCL in it favour removing the code.
- the code is deprecated, quite messy and quite slow.
can we talk about this on IRC?  I'm still willing to help, but it seems 
fairly complicated.

I will join the tesseract-orc channel on freenode.  We can talk about it 
when we're both present.

Op vrijdag 27 april 2018 09:36:53 UTC schreef zdenop:
>
> Only documentation we have is code itself ;-) But you can start with 
> searching for opencl issue in tesseract issue tracker on github...
>
> Zdenko
>
>
> pi 27. 4. 2018 o 10:56 Janpieter Sollie <[email protected] 
> <javascript:>> napísal(a):
>
>> I'd be glad to help.  using tesseract 4, I am able to perform a 90% 
>> accuracy on OpenCL.  I do not have any experience with neural networks (i'm 
>> just a high-school (no college educated IT-support guy with some knowledge 
>> about OpenCL), so can you recommend me some documentation to understand the 
>> engine of tesseract 4?
>>
>> 2018-04-27 10:50 GMT+02:00 Zdenko Podobny <[email protected] <javascript:>
>> >:
>>
>>> If you have experience your help will be warmly welcomed. 
>>> OpenCL is not maintained and it is on good way to be removed if 
>>> maintainer/contributor will not be found.
>>> Anyway it is not used extensively, so there is a place for improvement, 
>>>
>>> Zdenko
>>>
>>>
>>> pi 27. 4. 2018 o 10:21 Janpieter Sollie <[email protected] 
>>> <javascript:>> napísal(a):
>>>
>>>> Hello everyone,
>>>>
>>>> I have a question about the openCL selection procedure of tesseract:
>>>>
>>>> my output:
>>>>
>>>> [DS] Profile read from file (tesseract_opencl_profile_devices.dat).
>>>> [DS] Device[1] 1:Fiji score is 0.202927
>>>> [DS] Device[2] 1:Ellesmere score is 1.468799
>>>> [DS] Device[3] 1:Ellesmere score is 1.468799
>>>> [DS] Device[4] 1:Bonaire score is 1.533776
>>>> [DS] Device[5] 1:Tonga score is 0.184236
>>>> [DS] Device[6] 0:(null) score is 1.123015
>>>> [DS] Selected Device[5]: "Tonga" (OpenCL)
>>>>
>>>> Ugh, this is weird .. why does tesseract take my Tonga instead of my 
>>>> fiji device?  can I force it to use the fiji?
>>>> I understand the ellesmere have lower access times (they 're behind a 
>>>> pcie switch), but fiji and tonga are both directly connected via a pcie 
>>>> 2.0 
>>>> X16 bus.  Do we need a better tesseract selection procedure?
>>>> If so, I'm quite skilled at opencl, I'd be glad to help!
>>>>
>>>> kind regards,
>>>>
>>>> Janpieter
>>>>
>>>> -- 
>>>> You received this message because you are subscribed to the Google 
>>>> Groups "tesseract-ocr" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send 
>>>> an email to [email protected] <javascript:>.
>>>> To post to this group, send email to [email protected] 
>>>> <javascript:>.
>>>> Visit this group at https://groups.google.com/group/tesseract-ocr.
>>>> To view this discussion on the web visit 
>>>> https://groups.google.com/d/msgid/tesseract-ocr/4568b2b8-532d-457c-920b-60407e7b278e%40googlegroups.com
>>>>  
>>>> <https://groups.google.com/d/msgid/tesseract-ocr/4568b2b8-532d-457c-920b-60407e7b278e%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>> -- 
>>> You received this message because you are subscribed to a topic in the 
>>> Google Groups "tesseract-ocr" group.
>>> To unsubscribe from this topic, visit 
>>> https://groups.google.com/d/topic/tesseract-ocr/uNRDFTavDfc/unsubscribe.
>>> To unsubscribe from this group and all its topics, send an email to 
>>> [email protected] <javascript:>.
>>> To post to this group, send email to [email protected] 
>>> <javascript:>.
>>> Visit this group at https://groups.google.com/group/tesseract-ocr.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/tesseract-ocr/CAJbzG8wHCUBmAs3Q8%3D%2BzBPODuuDPS2g%3DZ-6Gve%3DLWpzVWwvTkw%40mail.gmail.com
>>>  
>>> <https://groups.google.com/d/msgid/tesseract-ocr/CAJbzG8wHCUBmAs3Q8%3D%2BzBPODuuDPS2g%3DZ-6Gve%3DLWpzVWwvTkw%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "tesseract-ocr" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> Visit this group at https://groups.google.com/group/tesseract-ocr.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/tesseract-ocr/CAJEYFEaZNSWsV-hL-9DYWJahUR-8_3Wi%2BO5XwRkwFPWZHZgSOA%40mail.gmail.com
>>  
>> <https://groups.google.com/d/msgid/tesseract-ocr/CAJEYFEaZNSWsV-hL-9DYWJahUR-8_3Wi%2BO5XwRkwFPWZHZgSOA%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"tesseract-ocr" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tesseract-ocr.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tesseract-ocr/74bf2865-3b00-4f12-af0c-325802120f5d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to