Thank you for your kind reminder. I have done this. And confusing thing
happens. I train my model with grey scale image without any 300dpi resize.
It goes not that well when I validate with my some of my test data. But if
I resize test image to 300 dpi, it’s better. In fact ,image will be resize
to a fixed size before go through the network. Let’s say, the same text in
the same image , no matter how I resize it, there will be a same fixed
image to be put into the network. Why here image size matters too much.

Besides,  The reason why I use grey scale is that I have seen the input of
the given tesseract lstm model is 1 in depth not 3. My real data is very
complicated screen shot from some video.
is it better if I use colored image to train model?

On Wed, Apr 3, 2019 at 18:51 Shree Devi Kumar <[email protected]> wrote:

> I haven't trained with real images. I would guess that training images
> should be similar to what you will be using for OCR. It might be best to
> test with a small set of images and see what works best for you.
>
> On Wed, Apr 3, 2019 at 2:38 PM Du Kotomi <[email protected]> wrote:
>
>> If we use text2image tool, there is no such problem.
>>
>> What about training with our real data. I have enough images for
>> training. Should I need to do some preprocess like binary or resized dpi
>> and then do lstm training?
>>
>> On Wed, Apr 3, 2019 at 16:36 Shree Devi Kumar <[email protected]>
>> wrote:
>>
>>> Usually for LSTM training we are using synthetic images created by
>>> text2image program using training text and fonts using tesstrain.sh or
>>> tesstrain.py. Hence there is no question of binarization or dpi as the
>>> program creates images as expected by tesseract training process.
>>>
>>> On Wed, Apr 3, 2019 at 12:31 PM Du Kotomi <[email protected]> wrote:
>>>
>>>> Anybody here?
>>>>
>>>> On Wed, Apr 3, 2019 at 09:57 <[email protected]> wrote:
>>>>
>>>>> Sorry for disturb again. I have sent my issue befire, but no one gives
>>>>> the answer.   I really need your help.
>>>>>
>>>>>
>>>>> I go through the source code and find tesseract do Otsu Thresholding
>>>>> and put the binary pix in the Thresholder object.
>>>>> But It seems  the Thresholder object haven't been  invoked if I use
>>>>> lstm engines.
>>>>> As well as dpi size,tesseract wiki said it is better for 300 dpi. This
>>>>> is a requirement for tesseract 3.0 engine or even before, right?
>>>>> If I training lstm tesseract, it doesn't matter whether I do binary or
>>>>> resize the dpi of images, right?
>>>>>
>>>>>
>>>>> I will be every appreciated if any response is sent. Thank you so much!
>>>>>
>>>>> --
>>>>> 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/f1004b09-daa5-4d6b-909b-ad8eac267d34%40googlegroups.com
>>>>> <https://groups.google.com/d/msgid/tesseract-ocr/f1004b09-daa5-4d6b-909b-ad8eac267d34%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/CAJ7gR93svAsWZDUjQ9kVEp_bvh53F6Yv5jQ8q5Ts4zObiCRy2Q%40mail.gmail.com
>>>> <https://groups.google.com/d/msgid/tesseract-ocr/CAJ7gR93svAsWZDUjQ9kVEp_bvh53F6Yv5jQ8q5Ts4zObiCRy2Q%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>>> .
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>
>>>
>>> --
>>>
>>> ____________________________________________________________
>>> भजन - कीर्तन - आरती @ http://bhajans.ramparivar.com
>>>
>>> --
>>> 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/CAG2NduV2mq8zKivmYtq8aMO7D%2BUeRiyxY%3D%3DL5qaOCi7iF9XC-A%40mail.gmail.com
>>> <https://groups.google.com/d/msgid/tesseract-ocr/CAG2NduV2mq8zKivmYtq8aMO7D%2BUeRiyxY%3D%3DL5qaOCi7iF9XC-A%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/CAJ7gR91s8vppNUwXPvkZzY%2BrmdJLee3pNMoKnLyAu3feoXzJsg%40mail.gmail.com
>> <https://groups.google.com/d/msgid/tesseract-ocr/CAJ7gR91s8vppNUwXPvkZzY%2BrmdJLee3pNMoKnLyAu3feoXzJsg%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
> --
>
> ____________________________________________________________
> भजन - कीर्तन - आरती @ http://bhajans.ramparivar.com
>
> --
> 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/CAG2NduXf3h-6FYmnLGVznTEdrFGPULgUpq66a_zkJhG8A9cJ4w%40mail.gmail.com
> <https://groups.google.com/d/msgid/tesseract-ocr/CAG2NduXf3h-6FYmnLGVznTEdrFGPULgUpq66a_zkJhG8A9cJ4w%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/CAJ7gR90hzo1xakrt0J06wOokwXWCZjia%2Bw2TZAHGAYJsYMx6Rg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to