Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -36,7 +36,7 @@ def detect(image):
|
|
36 |
counts[label_name] += 1
|
37 |
|
38 |
x, y, w, h = tuple(box)
|
39 |
-
draw.rectangle((x, y, x+w, y+h), outline="red")
|
40 |
draw.text((x, y), label_name, fill="white")
|
41 |
|
42 |
return counts, image
|
|
|
36 |
counts[label_name] += 1
|
37 |
|
38 |
x, y, w, h = tuple(box)
|
39 |
+
draw.rectangle((x, y, x+w, y+h), outline="red", width=2.5)
|
40 |
draw.text((x, y), label_name, fill="white")
|
41 |
|
42 |
return counts, image
|