Spaces:
Sleeping
Sleeping
Upload app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ def my_app(img):
|
|
10 |
minSize=(20, 20))
|
11 |
if len(analysedData) != 0:
|
12 |
for (x, y, width, height) in analysedData:
|
13 |
-
return cv2.rectangle(
|
14 |
(x + height, y + width),
|
15 |
(0, 255, 0), 5)
|
16 |
else:
|
|
|
10 |
minSize=(20, 20))
|
11 |
if len(analysedData) != 0:
|
12 |
for (x, y, width, height) in analysedData:
|
13 |
+
return cv2.rectangle(img, (x, y),
|
14 |
(x + height, y + width),
|
15 |
(0, 255, 0), 5)
|
16 |
else:
|