[tesseract-ocr] Parallellize with openMP

2018-04-27 Thread sonu sainju
Hi, I find smaller ROIs in an image and use tesseract's (3.05.01) GetUTF8Text() to get the strings of detected characters. I want to parallelize this process, without having multiple instances of api. I was wondering if it is possible to use OMP for parallel loops to do this? Thanks, Sonu --

Re: [tesseract-ocr] tesseract 4 beta: openCL useage

2018-04-27 Thread Janpieter Sollie
if I'm right, a neural net is about the engine parts, not the image characterisation rendering method, am I right? because I see many presentations, and most of them talk about the history of tesseract, but that's not what I need 2018-04-27 14:27 GMT+00:00 ShreeDevi Kumar :

Re: [tesseract-ocr] tesseract 4 beta: openCL useage

2018-04-27 Thread ShreeDevi Kumar
Please see https://github.com/tesseract-ocr/tesseract/wiki/4.0-with-LSTM For info about neural nets used by tesseract On Fri 27 Apr, 2018, 7:48 PM Janpieter Sollie, wrote: > I had a quick thought about what you could offload to opencl. I will need > some help from

Re: [tesseract-ocr] tesseract 4 beta: openCL useage

2018-04-27 Thread Janpieter Sollie
I had a quick thought about what you could offload to opencl. I will need some help from you people (I am a C programmer, not C++, at least not experienced) to do the host code, but this algorithm is perfectly optimizeable in openCL. the way I'd do it: prerequirements: - you can define 65k

[tesseract-ocr] boost::filesystem::path codecvt to wstring: error

2018-04-27 Thread Truth Free
I'm building with cppan+cmake as follows: mkdir win64 && cd win64 cppan .. cmake .. -G "Visual Studio 14 2015 Win64" when the second step,i met an error lik this:

Re: [tesseract-ocr] tesseract 4 beta: openCL useage

2018-04-27 Thread Janpieter Sollie
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

Re: [tesseract-ocr] tesseract 4 beta: openCL useage

2018-04-27 Thread Janpieter Sollie
a thing which I could do quite easily is search for characters with a certain offset. If you can give me 2^16 offsets to analyze, It may be an advantage to do it via OpenCL. But tdoes the network work this way? 2018-04-27 10:56 GMT+02:00 Janpieter Sollie : > I'd be

Re: [tesseract-ocr] tesseract 4 beta: openCL useage

2018-04-27 Thread Janpieter Sollie
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

Re: [tesseract-ocr] tesseract 4 beta: openCL useage

2018-04-27 Thread Zdenko Podobny
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

[tesseract-ocr] tesseract 4 beta: openCL useage

2018-04-27 Thread Janpieter Sollie
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