Spaces:
Sleeping
Sleeping
Update doors_fasterrcnn.py
Browse files- doors_fasterrcnn.py +1 -1
doors_fasterrcnn.py
CHANGED
|
@@ -167,7 +167,7 @@ def add_annotations_to_pdf(image, pdf_name, annotation_s, annotation_d):
|
|
| 167 |
# pdf_document.save(output_pdf_path)
|
| 168 |
# pdf_document.close()
|
| 169 |
|
| 170 |
-
def main_run(pdf_fullpath, weights_path, pdf_name,pdfpath): ####pdf_fullpath here is the data and not the path
|
| 171 |
img_pillow = convert2pillow(pdf_fullpath)
|
| 172 |
#new_image = img_pillow.resize((2384, 1684))
|
| 173 |
|
|
|
|
| 167 |
# pdf_document.save(output_pdf_path)
|
| 168 |
# pdf_document.close()
|
| 169 |
|
| 170 |
+
def main_run(pdf_fullpath, weights_path, pdf_name,pdfpath,ratio): ####pdf_fullpath here is the data and not the path
|
| 171 |
img_pillow = convert2pillow(pdf_fullpath)
|
| 172 |
#new_image = img_pillow.resize((2384, 1684))
|
| 173 |
|