I am processing Scanned PDFs having multiple pages, first using PDF - Extract Image I have extracted images and they are saved into folder. Filenames are in the order Invoice_1, Invoice_2, …..Invoice10, Invoice11 so on.
Now using loop for each file in folder I am extracting text for that images and saving the extracted text into txt file with file name as InvoiceTxt_1, InvoiceTxt_2 and so on.
But bot is not picking the Image files in the order nvoice_1, Invoice_2, …..Invoice10, Invoice11 so on. Instead it is picking files in the order Invoice_1, Invoice_10, Invoice_11, …...Invoice_2 so on.
Is there any solution for this ?