Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 12/15/2018 in all areas

  1. I recently added the `lang` parameter with `-l` flag: tesseract /tmp/ocr_snapshot.png stdout -l {query} 2>&1 It should allow you to run the command with `OCR fra` for french for example, but it should still work without any parameter. Tried just now and it works (Mac High Sierra & tesseract 3.05.01). Possible solutions: * add a way in the bash script to remove `-l` flag if `{query}` is undefined (don't know how to do this) * downgrade to tesseract 3 as it seems to behave differently in 4 * remove this part in the bash script if you don't need
    1 point
×
×
  • Create New...