Update app.py
Browse files
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(
|
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
|