2017-08-16 167 views
1

我剛剛安裝了Tesseract OCR,運行命令$ tesseract --list-langs後輸出結果只顯示2種語言,engosd。我的問題是,我如何加載另一種語言,具體來說就是日語?Tesseract OCR loading語言 - 日文

回答

0

我瞭解到,從https://github.com/tesseract-ocr/tessdata抓住訓練的數據,並把它放在同一目錄中其他訓練有素的數據,即,eng.traineddata並通過將語言標誌-l LANG正方體應該能夠閱讀您所指定的語言,在以下示例中,日語爲:tesseract -l jpn sample-jpn.png output-jpn