set the config variable - "preserve_interword_spaces" to 1
And as 0
For diff runs
and see if that makes any difference

On Tue 29 May, 2018, 4:30 PM ShreeDevi Kumar, <[email protected]> wrote:

> >The traineddata from tesseract does not have a spacing problem,
>
> Then the problem is related to training.
>
>
>
>
> On Tue 29 May, 2018, 4:16 PM Sumedhe Dissanayake, <
> [email protected]> wrote:
>
>>
>>
>> On Friday, May 18, 2018 at 6:32:44 PM UTC+5:30, shree wrote:
>>>
>>> image is not visible.
>>>
>>> ShreeDevi
>>> ____________________________________________________________
>>> भजन - कीर्तन - आरती @ http://bhajans.ramparivar.com
>>>
>>> On Fri, May 18, 2018 at 5:39 PM, Sumedhe Dissanayake <
>>> [email protected]> wrote:
>>>
>>>> Sometimes spaces between words are ignored when tesseract is used to
>>>> recognize Sinhala text.
>>>>
>>>> - The traineddata from tesseract does not have a spacing problem, even
>>>> though there ware changes in tesseract since it was uploaded.
>>>> - The spacing problem occurs regardless of whether I start the training
>>>> from scratch or bootstrap with the traineddata from tesseract.
>>>> - The spacing problem gets worse with more training.
>>>> - Adding more space between the words during training does not make a
>>>> difference.
>>>> - Adding double space between the words during recognition solves the
>>>> problem.
>>>> - The spacing problem is not consistent, i.e. in the recognition of a
>>>> text only some of the inter-word spaces are ignored (could not figure out
>>>> any logic as to when it happens).
>>>>
>>>> I have attached a screenshot, comparing a sample of input and output
>>>> text.
>>>>
>>>> Words missing spaces are underlined.
>>>>
>>>>
>>>> <https://lh3.googleusercontent.com/-T6hAiA4VclA/Wv1HEKkrioI/AAAAAAAAIN4/hZors3-ZJq01n24E3_c_JFzhws90X-x9gCLcBGAs/s1600/Screenshot_20180517_143558.png>
>>>>
>>>> --
>>>> 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/dfba845a-abe4-48fa-b834-7c64faf54f13%40googlegroups.com
>>>> <https://groups.google.com/d/msgid/tesseract-ocr/dfba845a-abe4-48fa-b834-7c64faf54f13%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 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/df48ecd1-5340-47ab-8b3d-f9b02eaae89e%40googlegroups.com
>> <https://groups.google.com/d/msgid/tesseract-ocr/df48ecd1-5340-47ab-8b3d-f9b02eaae89e%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 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/CAG2NduVcQ7P5Y%2B1Wps2M9TKkvdtYa9FNXo867uLZqf4tBroZ6A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to