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 于洋 <xiaoqingfenga...@gmail.com> 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:
>   0    Legacy engine only.
>   1    Neural nets LSTM engine only.
>   2    Legacy + LSTM engines.
>   3    Default, 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
> <https://groups.google.com/d/msgid/tesseract-ocr/bceef2a8-4f45-4372-8392-78679110f8b5%40googlegroups.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 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.

Reply via email to