Skip to content

Commit 9340737

Browse files
authored
Update Shape_Detection.py
1 parent d9a8e5f commit 9340737

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Python/shape-detection/Shape_Detection.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -171,10 +171,10 @@ def centroids(cnt):
171171
col= "green"
172172
else:
173173
col="red"
174-
shapes["Ellpise"].append(col)
175-
shapes["Ellpise"].append(ar)
176-
shapes["Ellpise"].append(cx)
177-
shapes["Ellpise"].append(cy)
174+
shapes["Ellipse"].append(col)
175+
shapes["Ellipse"].append(ar)
176+
shapes["Ellipse"].append(cx)
177+
shapes["Ellipse"].append(cy)
178178
else:
179179
#if contour has no vertex then it is a circle
180180
shapes["Circle"]=[]

0 commit comments

Comments
 (0)