Marthee commited on
Commit
05783fd
·
verified ·
1 Parent(s): 1ee84d8

Update doors_fasterrcnn.py

Browse files
Files changed (1) hide show
  1. doors_fasterrcnn.py +1 -1
doors_fasterrcnn.py CHANGED
@@ -267,7 +267,7 @@ def main_run(pdf_fullpath, weights_path, pdf_name,pdfpath,ratio): ####pdf_fullpa
267
  width_double_ann = create_width_annotations(width_double)
268
 
269
  # add_annotations_to_pdf(new_image, pdf_name, single_annotations, double_annotations)
270
- add_annotations_to_pdf(img_pillow, pdf_name, single_annotations, double_annotations,width_single_ann,width_double_ann,line_single,line_double)
271
 
272
  page=pdf_document[0]
273
  pix = page.get_pixmap() # render page to an image
 
267
  width_double_ann = create_width_annotations(width_double)
268
 
269
  # add_annotations_to_pdf(new_image, pdf_name, single_annotations, double_annotations)
270
+ pdf_document=add_annotations_to_pdf(img_pillow, pdf_name, single_annotations, double_annotations,width_single_ann,width_double_ann,line_single,line_double)
271
 
272
  page=pdf_document[0]
273
  pix = page.get_pixmap() # render page to an image