Marthee commited on
Commit
e8b8d1f
·
verified ·
1 Parent(s): c305e4e

Update doors_fasterrcnn.py

Browse files
Files changed (1) hide show
  1. doors_fasterrcnn.py +1 -1
doors_fasterrcnn.py CHANGED
@@ -360,7 +360,7 @@ def main_run(img_pillow,pdf_fullpath, weights_path, pdf_name,pdfpath,ratio): ###
360
  real_width = pxl2meter(width_pixels, ratio)
361
  char_width = width_as_char(real_width)
362
 
363
- pdf_document = add_annotations_to_pdf(img_pillow, pdf_fullpath, lines, sanda, char_width, line_midpoint)
364
  modified_pdf_data = pdf_document.tobytes()
365
  OutputPdfStage2=adjustannotations(modified_pdf_data)
366
  #Dataframe for Doors count
 
360
  real_width = pxl2meter(width_pixels, ratio)
361
  char_width = width_as_char(real_width)
362
 
363
+ pdf_document = add_annotations_to_pdf(img_pillow, pdf_fullpath, lines, sanda, char_width, line_midpoint, doubleD_bbox)
364
  modified_pdf_data = pdf_document.tobytes()
365
  OutputPdfStage2=adjustannotations(modified_pdf_data)
366
  #Dataframe for Doors count