Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -30,7 +30,7 @@ def detect(image):
|
|
30 |
counts[label_name] += 1
|
31 |
|
32 |
x1, y1, x2, y2 = tuple(box)
|
33 |
-
draw.rectangle((x1, y1, x2, y2), outline=
|
34 |
draw.text((x1, y1), label_name, fill="white")
|
35 |
|
36 |
df = pd.DataFrame({
|
|
|
30 |
counts[label_name] += 1
|
31 |
|
32 |
x1, y1, x2, y2 = tuple(box)
|
33 |
+
draw.rectangle((x1, y1, x2, y2), outline=(128, 128, 50), width=2)
|
34 |
draw.text((x1, y1), label_name, fill="white")
|
35 |
|
36 |
df = pd.DataFrame({
|