Spaces:
Sleeping
Sleeping
Update Counting_Columns_2_1.py
Browse files- Counting_Columns_2_1.py +1 -1
Counting_Columns_2_1.py
CHANGED
|
@@ -220,7 +220,7 @@ def add_annotations_to_pdf(image, pdf_name, huge_list_clmn_clr_loc):
|
|
| 220 |
rotationangle = page.rotation
|
| 221 |
page.set_rotation(0)
|
| 222 |
#for i in range(len(slctd_clm)):
|
| 223 |
-
for text_loc, column_loc, word,
|
| 224 |
x, y = column_loc
|
| 225 |
clr = (clr[0] / 255, clr[1] / 255, clr[2] / 255)
|
| 226 |
#x, y = slctd_clm[i]
|
|
|
|
| 220 |
rotationangle = page.rotation
|
| 221 |
page.set_rotation(0)
|
| 222 |
#for i in range(len(slctd_clm)):
|
| 223 |
+
for text_loc, column_loc, word, clr in huge_list_clmn_clr_loc:
|
| 224 |
x, y = column_loc
|
| 225 |
clr = (clr[0] / 255, clr[1] / 255, clr[2] / 255)
|
| 226 |
#x, y = slctd_clm[i]
|