Update app.py
Browse files
app.py
CHANGED
@@ -14,7 +14,7 @@ def show_preds_image(image):
|
|
14 |
|
15 |
image = cv2.imread(image_path)
|
16 |
outputs = model.predict(source=image_path)
|
17 |
-
print("output:: ", outputs[0]
|
18 |
results = outputs[0].boxes.xyxy.cpu().numpy()
|
19 |
for det in results:
|
20 |
x1, y1, x2, y2 = det[:4]
|
|
|
14 |
|
15 |
image = cv2.imread(image_path)
|
16 |
outputs = model.predict(source=image_path)
|
17 |
+
print("output:: ", outputs[0])
|
18 |
results = outputs[0].boxes.xyxy.cpu().numpy()
|
19 |
for det in results:
|
20 |
x1, y1, x2, y2 = det[:4]
|