Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -221,6 +221,8 @@ def do_prediction(model_name, img):
|
|
| 221 |
|
| 222 |
box = [x, y, w, h]
|
| 223 |
|
|
|
|
|
|
|
| 224 |
img_border = np.zeros((prediction_true.shape[0],prediction_true.shape[1]))
|
| 225 |
img_border[y:y+h, x:x+w] = 1
|
| 226 |
img_border = np.repeat(img_border[:, :, np.newaxis], 3, axis=2)
|
|
|
|
| 221 |
|
| 222 |
box = [x, y, w, h]
|
| 223 |
|
| 224 |
+
print(box)
|
| 225 |
+
|
| 226 |
img_border = np.zeros((prediction_true.shape[0],prediction_true.shape[1]))
|
| 227 |
img_border[y:y+h, x:x+w] = 1
|
| 228 |
img_border = np.repeat(img_border[:, :, np.newaxis], 3, axis=2)
|