Skip to content
Advertisement

Tesseract exec not working

I have been trying to work this out for a couple days now and can’t crack it.

I’m trying to use php to echo the result of tesseract.

After everything I’ve researched and tried, I feel like the below code should work.

JavaScript

The command runs fine via SSH and if I change the above to suit ifconfig it works fine.

Any ideas to get this working?

Advertisement

Answer

I ended up getting this working by just breaking everything down.

JavaScript
User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement