|
Counting Dices Thomas Wagner from Germany [51 posts] |
10 year
|
STeven
regarding your counting dice tutorial, is it possible to not only determine the overall count on all dices, but at the same time determine the number of dices on the table and determine the count on each single dice?
This is about iterating through blobs.
Thomas
|
|
|
Steven Gentner from United States [1446 posts] |
10 year
|
Thomas,
Yes, it possible. There are a couple ways to do this ... one way you can explore is using the Split image. You'd split the image into individual dice by first detecting the dice and splitting the image into those blobs. You can then process each dice individually in much the same way as the tutorial does. Note that module has two modes, one that will split based on a grid, the other based on individual blobs.
http://www.roborealm.com/help/Split_Image.php
STeven.
|
|