Hi- Ive installed your repo in a standalone VM, and have correct installations as far as I can see, however when I try to run the one line command to extract tables:
python predict_table.py --pdf_path pdfs/nexusfpr.pdf --page 3
I get this error:
image 1/1 pdfs/nexusfpr-3.jpg: Traceback (most recent call last):
File "predict_table.py", line 130, in <module>
detect_tables(opt)
File "predict_table.py", line 109, in detect_tables
[x1, y1, x2, y2]=bboxes_pdf(img, pdf_page, x)
File "predict_table.py", line 75, in bboxes_pdf
with open("cropped_"+pdf_file[:-4]+"-"+str(pg)+".pdf", "wb") as out_f:
NameError: name 'pdf_file' is not defined
Hi- Ive installed your repo in a standalone VM, and have correct installations as far as I can see, however when I try to run the one line command to extract tables:
python predict_table.py --pdf_path pdfs/nexusfpr.pdf --page 3
I get this error: