Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -38,8 +38,9 @@ def detect_ellipses(img_path):
|
|
38 |
|
39 |
result = aamed.run_AAMED(imgG)
|
40 |
|
|
|
|
|
41 |
if len(result) > 0:
|
42 |
-
imgN = imgG.copy()
|
43 |
imgN = cv2.cvtColor(imgN, cv2.COLOR_GRAY2RGB)
|
44 |
for e in result:
|
45 |
x, y, w, h, a, _ = e
|
|
|
38 |
|
39 |
result = aamed.run_AAMED(imgG)
|
40 |
|
41 |
+
imgN = imgG.copy()
|
42 |
+
|
43 |
if len(result) > 0:
|
|
|
44 |
imgN = cv2.cvtColor(imgN, cv2.COLOR_GRAY2RGB)
|
45 |
for e in result:
|
46 |
x, y, w, h, a, _ = e
|