Abijith commited on
Commit
ae4c6a4
1 Parent(s): fd7dc8f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -30,6 +30,7 @@ def bbox_normalization(bbox, width, height):
30
  width_coeff = width/352
31
  normalized_bbox = [[bbox[0]*width_coeff, bbox[1]*height_coeff],
32
  [bbox[2]*width_coeff, bbox[3]*height_coeff]]
 
33
  return normalized_bbox
34
 
35
  def bbox_area(bbox):
 
30
  width_coeff = width/352
31
  normalized_bbox = [[bbox[0]*width_coeff, bbox[1]*height_coeff],
32
  [bbox[2]*width_coeff, bbox[3]*height_coeff]]
33
+ print(f'Normalized-bbox:: {normalized_bbox}')
34
  return normalized_bbox
35
 
36
  def bbox_area(bbox):