OSX: brew install imagemagick brew install tesseract –all-languages Debian/Ubuntu: apt-get install imagemagick tesseract\* Sample Usage: convert input image to grayscale using imagemagik convert input.png -colorspace Gray output.tif decode with tesseract tesseract output.tif result; cat result.txt