@@ -11,11 +11,11 @@ def get_shapes(regions):
eccent = region.eccentricity
if eccent == 0:
if region.image.size == region.area:
- key = "rectangle"
+ key = "rect"
else:
- key = "circle"
+ key = "ball"
shapes[key] += 1
return shapes