Re: [tesseract-ocr] Trained font - always one letter wrong

2018-05-01 Thread dave . hardy
Training doesn't work. If i use the characters "ä, ö, ü" (which i need) in my 
training text, text2image says: WARNING:
illegal UTF8 encountered and then creates an incorrect box/tif pair.
This seems not to depend on my font, because with Arial it does the same thing. 
Can you help me to avoid this? 

-- 
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 tesseract-ocr+unsubscr...@googlegroups.com.
To post to this group, send email to tesseract-ocr@googlegroups.com.
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/d5cc618f-0122-4857-a677-4a92f4b13ba1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tesseract-ocr] Do I need to call Init before every rectangle?

2018-05-01 Thread Ben Rogall
Thank you shree. That did solve the issue. I wonder why this is the default 
behavior.

On Tuesday, May 1, 2018 at 3:30:06 AM UTC-5, shree wrote:
>
> See 
> https://github.com/tesseract-ocr/tesseract/wiki/FAQ#there-are-inconsistent-results-from-tesseract-when-the-same-tessbaseapi-object-is-used-for-decoding-multiple-images
>
>
>
> On Tue 1 May, 2018, 12:53 PM Ben Rogall,  
> wrote:
>
>>
>> I am using the baseapi to OCR a large number of small text images, most 
>> of which just have a few digits. If I call End() and Init() after every 
>> image, the results are basically perfect. If I just delete the char string 
>> and go on to the next image the results are much worse, with extra 
>> characters thrown in at the beginning of the text. Is it necessary to call 
>> Init() every time? It greatly slows the process. I have tried calling 
>> Clear() between images, but that had no effect.
>> Thanks for any suggestions.
>> Ben
>>
>> -- 
>> 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 tesseract-oc...@googlegroups.com .
>> To post to this group, send email to tesser...@googlegroups.com 
>> .
>> 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/60731a9a-1893-4626-96ab-a9c81f9d1409%40googlegroups.com
>>  
>> 
>> .
>> 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 tesseract-ocr+unsubscr...@googlegroups.com.
To post to this group, send email to tesseract-ocr@googlegroups.com.
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/bf86bb19-6b93-436d-b25a-312253363e66%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tesseract-ocr] Do I need to call Init before every rectangle?

2018-05-01 Thread ShreeDevi Kumar
See
https://github.com/tesseract-ocr/tesseract/wiki/FAQ#there-are-inconsistent-results-from-tesseract-when-the-same-tessbaseapi-object-is-used-for-decoding-multiple-images



On Tue 1 May, 2018, 12:53 PM Ben Rogall,  wrote:

>
> I am using the baseapi to OCR a large number of small text images, most of
> which just have a few digits. If I call End() and Init() after every image,
> the results are basically perfect. If I just delete the char string and go
> on to the next image the results are much worse, with extra characters
> thrown in at the beginning of the text. Is it necessary to call Init()
> every time? It greatly slows the process. I have tried calling Clear()
> between images, but that had no effect.
> Thanks for any suggestions.
> Ben
>
> --
> 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 tesseract-ocr+unsubscr...@googlegroups.com.
> To post to this group, send email to tesseract-ocr@googlegroups.com.
> 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/60731a9a-1893-4626-96ab-a9c81f9d1409%40googlegroups.com
> 
> .
> 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 tesseract-ocr+unsubscr...@googlegroups.com.
To post to this group, send email to tesseract-ocr@googlegroups.com.
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/CAG2NduWQt9Bzu-4xMLKVD%2BQ3AJyU5wKuNZu2waMLC7hGuNWysA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[tesseract-ocr] Do I need to call Init before every rectangle?

2018-05-01 Thread Ben Rogall

I am using the baseapi to OCR a large number of small text images, most of 
which just have a few digits. If I call End() and Init() after every image, 
the results are basically perfect. If I just delete the char string and go 
on to the next image the results are much worse, with extra characters 
thrown in at the beginning of the text. Is it necessary to call Init() 
every time? It greatly slows the process. I have tried calling Clear() 
between images, but that had no effect.
Thanks for any suggestions.
Ben

-- 
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 tesseract-ocr+unsubscr...@googlegroups.com.
To post to this group, send email to tesseract-ocr@googlegroups.com.
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/60731a9a-1893-4626-96ab-a9c81f9d1409%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.