MAINT: use region.area

This commit is contained in:
François Boulogne committed 2014-03-26 06:48:16 -04:00
1 parent 4b714c54f2
commit ea70724216
1 file changed
+1 -1
+1 -1
View File
@@ -46,7 +46,7 @@ ax.imshow(image_label_overlay)
for region in regionprops(label_image):
# skip small images
if region['Area'] < 100:
if region.area < 100:
continue
# draw rectangle around segmented coins