Hey everyone! This system constitutes the first step of an autonomous Lego Technic piece sorter. The pieces are processed by an image classification neural network in real time, being classified into categories such as none, beam, peg, gear and axle.
More information and all code can be found at:
I originally created this as a way to bypass the extremely annoying part of sorting lego pieces after use, but it can also be used in a classroom setting to tie in Lego robotics and deep learning. This is only a piece classification system, so a multicoloured LED output and a colour sensing Lego bot can be used to actually create the sorter.