Lego Technic piece classification using Jetson Nano

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.

1 Like

Hi @alexander.lyakishev, great job on your project, thanks for sharing! Would be interesting to see this integrated with the sorting mechanics sometime.

1 Like