Multilingual OCR.
I'm talking about the line in ocr.sh
ocr_text=$(grim -g "$(slurp)" - | tesseract -l eng - - 2>/dev/null)
Anyone can download additional languages themselves and change the tesseract command to something like
tesseract -l eng+jpn
However, after each Ax-Shell update, you have to do it again.
At first, I wanted to suggest looking at all available files in the tessdata folder, but this is unnecessary for something that a person will change once.
You can simply do
tesseract -l "$(cat some_file)"
However, I haven't figured out where the best place to place this file is, so I'll leave that choice up to you
You are completely right. Actually the OCR script was a PR that I didn't really check. I'll update it.
The tesseract-data-eng package was not downloaded with the install script. The script does not work without it
@vinatic solved.
Regarding the original issue, I'll see what I can do.