Sample Header Ad - 728x90

Pdfsandwich does not work

1 vote
0 answers
74 views
I use arch linux. When running pdfsandwich, I get the following error:
ERROR: Command "OMP_THREAD_LIMIT=1 tesseract /tmp/pdfsandwich_tmpae6a1b/pdfsandwich76f2d2.tif>/dev/null 2>&1 /tmp/pdfsandwich_tmpae6a1b/pdfsandwich6ff0e9  -l eng pdf " failed. 
Terminating pdfsandwich. All temporary files are kept.
after receiving the error message
WARNING: The convert command is deprecated in IMv7, use "magick" instead of "convert" or "magick convert"
Does anyone know what the problem is? I do not know where to begin to try fixing it. EDIT: When running
tesseract /tmp/pdfsandwich_tmpae6a1b/pdfsandwich76f2d2.tif /tmp/pdfsandwich_tmpae6a1b/pdfsandwich6ff0e9  -l eng pdf
I get
Error opening data file /usr/share/tessdata/eng.traineddata
Please make sure the TESSDATA_PREFIX environment variable is set to your "tessdata" directory.
Failed loading language 'eng'
Tesseract couldn't load any languages!
Could not initialize tesseract.
Asked by fish_monster (111 rep)
Sep 18, 2024, 07:24 PM
Last activity: Sep 20, 2024, 05:46 PM