Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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):
|