BrickPi Candy Sorter

Sort your Halloween candy with Google Cloud Vision and Raspberry Pi.

1. Introduction

In this tutorial, we’re going to build a machine to sort your Halloween candy, using the Raspberry PiBrickPi, some LEGOs, and Google Cloud Vision.

Pile of candy too big this year?

Need to sort the junk from the gold? Have a certain candy you hate? Fear not, the BrickPi Candy Sorter is here to help! In this tutorial we’ll harness the powerful Google Cloud Vision, BrickPi, Raspberry Pi, Raspberry Pi Camera, and a pile of LEGO bricks to build a machine to find what you want (and don’t want) automatically!

After you run the BrickPi Candy Sorter, you’ll have a pile of candy you want, and the junk you can give your little brother.

“Robots are coming for Dirty, Dangerous, and Dull Jobs”; sorting candy isn’t dangerous or dirty (I hope), but it is kind of dull. The BrickPi Candy Sorter using Google Cloud Vision solves this problem!