Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -73,7 +73,7 @@ def predict_on_image(image, conf_threshold):
|
|
| 73 |
detected_class_name_text_labels.append(label_name)
|
| 74 |
|
| 75 |
# Draw the rectangle
|
| 76 |
-
draw.
|
| 77 |
outline=targ_colour,
|
| 78 |
width=3)
|
| 79 |
|
|
|
|
| 73 |
detected_class_name_text_labels.append(label_name)
|
| 74 |
|
| 75 |
# Draw the rectangle
|
| 76 |
+
draw.rectangle(xy=(x, y, x2, y2),
|
| 77 |
outline=targ_colour,
|
| 78 |
width=3)
|
| 79 |
|