Skip to content

Commit d283ddd

Browse files
authored
Merge pull request #46 from akarve/master
Update 03_segmentation.ipynb
2 parents 1c5533c + 7f8f9ff commit d283ddd

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

notebooks/chapter11_image/03_segmentation.ipynb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,8 +196,7 @@
196196
},
197197
"outputs": [],
198198
"source": [
199-
"regions = regionprops(labels, \n",
200-
" ['Area', 'BoundingBox'])\n",
199+
"regions = regionprops(labels)\n",
201200
"boxes = np.array([label['BoundingBox'] for label in regions \n",
202201
" if label['Area'] > 100])\n",
203202
"print(\"There are {0:d} coins.\".format(len(boxes)))"

0 commit comments

Comments
 (0)