Spaces:
Runtime error
Runtime error
Aditya9790
commited on
Commit
•
d597012
1
Parent(s):
062d935
Update app.py
Browse files
app.py
CHANGED
@@ -37,7 +37,7 @@ model_names = [
|
|
37 |
models = {model_name: load_model(model_name) for model_name in model_names}
|
38 |
|
39 |
##################################
|
40 |
-
"""Function to Draw Bounding boxes"""
|
41 |
def draw_boxes(img, bbox, identities=None, categories=None, confidences = None, names=None, colors = None):
|
42 |
for i, box in enumerate(bbox):
|
43 |
x1, y1, x2, y2 = [int(i) for i in box]
|
|
|
37 |
models = {model_name: load_model(model_name) for model_name in model_names}
|
38 |
|
39 |
##################################
|
40 |
+
# """Function to Draw Bounding boxes"""
|
41 |
def draw_boxes(img, bbox, identities=None, categories=None, confidences = None, names=None, colors = None):
|
42 |
for i, box in enumerate(bbox):
|
43 |
x1, y1, x2, y2 = [int(i) for i in box]
|