rtesseract
rtesseract copied to clipboard
Rails can't locate tesseract directory
I'm in a new rails 7 app running webpack. When I try to run
image_path = ActionController::Base.helpers.image_url('receipt.jpg')
image = RTesseract.new(image_path, lang: 'eng')
image.to_s
I keep getting the error
Errno::ENOENT: No such file or directory - tesseract
even though I have followed all the steps for setup. Any idea how to fix it?