prabhakar267/image2text

trackback No file or Directory Error not resolved

pcakhilnadh opened this issue · 2 comments

screen shot 2017-09-14 at 9 37 34 am

$python main.py sample
[ after deleting the image in converted text folder ]

OSError No file or Directory

Hi @pcakhilnadh
Seems like you don't have tesseract on your system. You can resolve this by installing tesseract-ocr
If you are using Ubuntu, you can do;

sudo apt-get install tesseract-ocr

Reference: https://stackoverflow.com/q/28741563/

@prabhakar267 Thanks 👍

For mac user

$ brew install tesseract

will fix this issue