messy
and success depends on the quality of those images.
In a nutshell you are going to have to OCR each page image and convert in into text. Each page will need correcting as OCR technology is not 100% - by a long way
You then need to paste the corrected text files into one large text file, and then output it - as a PDF, Amazon or some other format.
So three questions
1) How good are the jpg files?
2) How many pages
3) What format do you want the final output to be? PDF? EPUB? Kindle/Mobi? something else?