How can I run tesseract with multiple languages one time?

前端 未结 2 526
隐瞒了意图╮
隐瞒了意图╮ 2021-02-12 15:48

I have to analyzed a image which containing both English and Japanese texts. When I run tesseract by default (-l eng), some Japanese characters lost. Otherwise, if

2条回答
  •  花落未央
    2021-02-12 16:28

    Since tesseract 3.02 it is possible to specify multiple languages for the -l parameter.

    -l lang The language to use. If none is specified, English is assumed. Multiple languages may be specified, separated by plus characters. Tesseract uses 3-character ISO 639-2 language codes.

    An example:

    tesseract myscan.png out -l deu+eng
    

提交回复
热议问题