Your data. Your choice.

If you select «Essential cookies only», we’ll use cookies and similar technologies to collect information about your device and how you use our website. We need this information to allow you to log in securely and use basic functions such as the shopping cart.

By accepting all cookies, you’re allowing us to use this data to show you personalised offers, improve our website, and display targeted adverts on our website and on other websites or apps. Some data may also be shared with third parties and advertising partners as part of this process.

News + Trends

Sorting LEGO with a neural network

Ramon Schneider
11.12.2019
Translation: machine translated

Sorting your own LEGO collection is a monotonous and time-consuming task. Australian Daniel West has therefore built a sorting machine. The exciting thing about it is that the sorting process is carried out by artificial intelligence.

Some inventors have already built LEGO sorting machines. However, these always required a certain amount of pre-sorting. Daniel West went one step further and implemented an artificial intelligence in his model that can recognise all LEGO bricks. West needed over 10,000 LEGO bricks, six motors, a few servos, a Raspberry Pi, a camera and his laptop to build the model.

Buckets full of LEGO bricks can be poured into the top opening of the machine. Thanks to various vibrating plates, only one LEGO piece at a time runs through the scanning process. The construction of the sorting machine alone took around six months. West needed a full two and a half years for the software behind it. In order for the software to recognise the LEGO bricks, a camera takes several pictures of the object and compares them with existing 3D models of LEGO bricks. As LEGO itself does not disclose this data, West used the online databases of LDraw.org and rebrickable.com. .

Writing image processing software that matches photos with 3D renderings was extremely time-consuming, according to West. Keeping the subtle differences between the parts apart is the biggest task for the software. West built a neural network to learn this task. The software is now able to match around two bricks per second.

West is now planning to make his software available free of charge to anyone who is interested. However, he does not want to publish building instructions for the sorting machine. In his opinion, LEGO fans should use their own creativity and ingenuity and build such a machine themselves.

31 people like this article


User Avatar
User Avatar

I get paid to play with toys all day.


News + Trends

From the latest iPhone to the return of 80s fashion. The editorial team will help you make sense of it all.

Show all

Comments

Avatar