Occasionally there’s a gadget that causes me to stare in awe… well, /u/dutchkiwifruit at reddit has come up with something that looks like a lot of fun…
His machine will separate out a bag of m&m’s or skittles (or anything else apparently) based on color. According to his post:
The machine is able to sort M&M’s and Skittles by colour by performing optical measurements using the RGB sensor. It can be modified to sort any type of coloured object, as long as the individual pieces have a regular shape with even dimensions. It takes approximately 2-3 minutes to sort a 300 g bag of Skittles / M&M’s and sorts about 2 pieces per second. The machine is 250 mm in diameter and approximately 300 mm in height.
If you want to see the full build and see it in action, head over to imgur.