tesseract: tesseract --list-langs doesn't print languages installed

Environment

  • Tesseract Version:4.0.0-beta.1-370-g8b64
  • Platform: Linux Ubuntu 16.04 LTS

Current Behavior:

tesseract --list-langs gives the following error log : read_params_file: parameter not found: enable_new_segsearch

Expected Behavior:

Should give a list of all languages installed.

Any idea what to do? I tried searching previous issues, the closest I came to was #1620 . Also, I’m using a custom digits.traineddata file made from running lstmtraining.

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 28 (8 by maintainers)

Most upvoted comments

combine_tessdata -d /usr/share/tesseract-ocr/tessdata/eng.traineddata

combine_tessdata: command not found

Looks like you have an old version (3) installed and tessdata_prefix is pointing to that.

try

tesseract --tessdata-dir /path/to/your/tessdata --list-langs