Soumen commited on
Commit
f09af4b
·
1 Parent(s): cadb958

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -67,7 +67,7 @@ def read_pdf_with_pdfplumber(file):
67
  all_page_text=" "
68
  with pdfplumber.open(file) as pdf:
69
  page = pdf.pages[0]
70
- img = Image.open(im)
71
  img = img.save("img.png")
72
  image_name = cv2.imread("img.png")
73
  # get co-ordinates to c
 
67
  all_page_text=" "
68
  with pdfplumber.open(file) as pdf:
69
  page = pdf.pages[0]
70
+ img = Image.open(page)
71
  img = img.save("img.png")
72
  image_name = cv2.imread("img.png")
73
  # get co-ordinates to c