Spaces:
Sleeping
Sleeping
Update Counting_Columns_2_1.py
Browse files- Counting_Columns_2_1.py +1 -1
Counting_Columns_2_1.py
CHANGED
|
@@ -186,7 +186,7 @@ def add_annotations_to_pdf(image, pdf_name, slctd_clm, columns_types_v):
|
|
| 186 |
#page.set_rotation(rotationOld)
|
| 187 |
return pdf_document
|
| 188 |
|
| 189 |
-
def mainfun(pdf_name):
|
| 190 |
pdf_document = fitz.open('pdf',pdf_name)
|
| 191 |
page = pdf_document[0]
|
| 192 |
rotation = page.rotation
|
|
|
|
| 186 |
#page.set_rotation(rotationOld)
|
| 187 |
return pdf_document
|
| 188 |
|
| 189 |
+
def mainfun(pdf_name,pdfpath):
|
| 190 |
pdf_document = fitz.open('pdf',pdf_name)
|
| 191 |
page = pdf_document[0]
|
| 192 |
rotation = page.rotation
|