Marthee commited on
Commit
49170fb
·
verified ·
1 Parent(s): 7e21cc1

Update doors_fasterrcnn.py

Browse files
Files changed (1) hide show
  1. doors_fasterrcnn.py +1 -1
doors_fasterrcnn.py CHANGED
@@ -402,7 +402,7 @@ def main_run(img_pillow,pdf_fullpath, weights_path, pdf_name,pdfpath,ratio): ###
402
  char_width = width_as_char(real_width)
403
  char_d_width = width_as_char(real_double)
404
 
405
- pdf_document = add_annotations_to_pdf(img_pillow, pdf_fullpath, lines, sanda, char_width, line_midpoint, doubleD_bbox)
406
  modified_pdf_data = pdf_document.tobytes()
407
  OutputPdfStage2=adjustannotations(modified_pdf_data)
408
  #Dataframe for Doors count
 
402
  char_width = width_as_char(real_width)
403
  char_d_width = width_as_char(real_double)
404
 
405
+ pdf_document = add_annotations_to_pdf(img_pillow, pdf_fullpath, lines, sanda, char_width, line_midpoint, doubleD_bbox, char_d_width)
406
  modified_pdf_data = pdf_document.tobytes()
407
  OutputPdfStage2=adjustannotations(modified_pdf_data)
408
  #Dataframe for Doors count