Commit 3010e198 by Saroj Dhiman

Upload new file

1 parent f1820c35
Showing with 19 additions and 0 deletions
import final_module
import time
questions = ["what is the address of company?",
"what is the date of issue?",
# "What is the invoice number?",
]
rawtext_filenme = "extracted_text.txt"
image_filename = "output_image.png"
filename = "invoice_10.pdf"
start = time.time()
final_module.process_pdf_to_image_and_text(filename,1,questions, rawtext_filenme, image_filename)
print("time taken " , ((time.time() - start) / 60))
print("PDF to image conversion and completion generation complete.")
print("check your folder")
#7241
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!