omarelsayeed commited on
Commit
b6ee85c
1 Parent(s): 1847114

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -182,7 +182,7 @@ def draw_bboxes_on_image(image_path, bboxes, classes, reading_order):
182
 
183
 
184
 
185
- def scale_and_normalize_boxes(bboxes, old_width = 1024, old_height= 1024, new_width=595.303955, new_height=841.889771, normalize_width=1000, normalize_height=1000):
186
  """
187
  Scales and normalizes bounding boxes from original dimensions to new dimensions.
188
 
 
182
 
183
 
184
 
185
+ def scale_and_normalize_boxes(bboxes, old_width = 1024, old_height= 1024, new_width=640, new_height=640, normalize_width=1000, normalize_height=1000):
186
  """
187
  Scales and normalizes bounding boxes from original dimensions to new dimensions.
188