Re: [tesseract-ocr] How to use tesseract 4 engineMode 2 ( Legacy + LSTM engines)?

2018-07-13 Thread 于洋
Thanks a lot.

I have combined LSTM and legacy together. Using combine_tessdata command.


On Friday, July 13, 2018 at 12:04:29 PM UTC+8, shree wrote:
>
> The traineddata files can hold both types of models. The OCR Engine mode 
> chooses which ones get used.
>
>
> https://github.com/tesseract-ocr/tesseract/wiki/Data-Files#format-of-traineddata-files
>
> On Fri, Jul 13, 2018 at 9:31 AM 于洋 > 
> wrote:
>
>> Tesseract 4 introduced new LSTM engine. The LSTM engine needs LSTM 
>> trained data, and the legacy engine needs old trained data. Two types of 
>> trained data are incompatiable with each other.
>>
>> When I set OCR Engine to 2, it will use Legacy and LSTM engines. But how 
>> can i provide two types(LSTM and legacy) trained data for tesseract?
>>
>> OCR Engine modes:
>>   0Legacy engine only.
>>   1Neural nets LSTM engine only.
>>   2Legacy + LSTM engines.
>>   3Default, based on what is available.
>>
>> -- 
>> 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/bceef2a8-4f45-4372-8392-78679110f8b5%40googlegroups.com
>>  
>> 
>> .
>> 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 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/a1576bcf-b785-4e4a-9031-5fb7063ed7f3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tesseract-ocr] How to use tesseract 4 engineMode 2 ( Legacy + LSTM engines)?

2018-07-12 Thread Shree Devi Kumar
The traineddata files can hold both types of models. The OCR Engine mode
chooses which ones get used.

https://github.com/tesseract-ocr/tesseract/wiki/Data-Files#format-of-traineddata-files

On Fri, Jul 13, 2018 at 9:31 AM 于洋  wrote:

> Tesseract 4 introduced new LSTM engine. The LSTM engine needs LSTM trained
> data, and the legacy engine needs old trained data. Two types of trained
> data are incompatiable with each other.
>
> When I set OCR Engine to 2, it will use Legacy and LSTM engines. But how
> can i provide two types(LSTM and legacy) trained data for tesseract?
>
> OCR Engine modes:
>   0Legacy engine only.
>   1Neural nets LSTM engine only.
>   2Legacy + LSTM engines.
>   3Default, based on what is available.
>
> --
> 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/bceef2a8-4f45-4372-8392-78679110f8b5%40googlegroups.com
> 
> .
> 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 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/CAG2NduVPYKrfx0Jw6ExFzZ-4eFDJioYux%3DnHCYdSaPQP2PBLXw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.