You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
--list-langs is not more a parameter of tesseract and return the usage message.
To execute ocrpdf.rb I had to comment out the following lines.
From line 253 to 276:
ifchecklanglanglist=[]ifusecuneiformbeginlanglist=`cuneiform -l`.split("\n")[-1].split(":")[-1].delete(".").split(" ")rescueputs"Unable to list supported languages from cuneiform"endendifusetesseractbeginlanglist=`tesseract --list-langs 2>&1`.split("\n")[1..-1]rescueputs"Unable to list supported languages from tesseract"endendiflanglistand not langlist.empty?()if not langlist.include?(language)puts"Language #{language} is not supported or not installed. Please choose from"putslanglist.join(' ')exitendendend
The text was updated successfully, but these errors were encountered:
--list-langs is not more a parameter of tesseract and return the usage message.
To execute ocrpdf.rb I had to comment out the following lines.
From line 253 to 276:
The text was updated successfully, but these errors were encountered: