Spaces:
Sleeping
Sleeping
Update doors_fasterrcnn.py
Browse files- doors_fasterrcnn.py +1 -1
doors_fasterrcnn.py
CHANGED
|
@@ -246,7 +246,7 @@ def main_run(pdf_fullpath, weights_path, pdf_name,pdfpath,ratio): ####pdf_fullpa
|
|
| 246 |
real_width = pxl2meter(width_pixels, ratio)
|
| 247 |
char_width = width_as_char(real_width)
|
| 248 |
|
| 249 |
-
pdf_document = add_annotations_to_pdf(img_pillow,
|
| 250 |
|
| 251 |
#Dataframe for Doors count
|
| 252 |
#doors_count = {'Type': ['Single Doors', 'Double Doors'], 'Quantity': [len(sbox), len(dbox)]}
|
|
|
|
| 246 |
real_width = pxl2meter(width_pixels, ratio)
|
| 247 |
char_width = width_as_char(real_width)
|
| 248 |
|
| 249 |
+
pdf_document = add_annotations_to_pdf(img_pillow, pdf_name, lines, sanda, char_width, line_midpoint)
|
| 250 |
|
| 251 |
#Dataframe for Doors count
|
| 252 |
#doors_count = {'Type': ['Single Doors', 'Double Doors'], 'Quantity': [len(sbox), len(dbox)]}
|