setting resolution Invalid resolution 0 dpi in tesseract code example
Example: tesseract specify dpi
#use the -- dpi option.
Eg: tesseract --dpi 300 inputfile outputfile
#use the -- dpi option.
Eg: tesseract --dpi 300 inputfile outputfile