Converting the jpg to text is done by OCR(Optical character reading). There are lot of online OCR services available now. But these services set a limit in the input file size we are feeding. So the best option is to do conversion through the shell command. Here I explain the conversion using the shell commands.