This Guy Spent 2.5 Years To Build A Machine That Sorts Out His Lego Pieces

Dhir Acharya - Dec 07, 2019


This Guy Spent 2.5 Years To Build A Machine That Sorts Out His Lego Pieces

2.5 years perfect the software and 10,000 pieces to build a machine that sorts out Lego pieces using a neural network.

As you add more legos to your collection, it gets more and more interesting to play with, until there are too many of them and it’s almost impossible to find the piece you want. That’s when you need something to sort out the pieces for you, and this guy developed a sorting system using Lego pieces that sorts out the bricks automatically.

this-guy-spent-2-5-years-to-build-a-machine-that-sorts-out-his-lego-pieces-1

While there have been other sorting systems built years ago, those all required pre-sorting and had limited ability in categorizing and dropping pieces into separate bins. Meanwhile, Daniel West has built a system featuring a complex mechanism that supports 18 bins as well as categories of Lego pieces. But it can potentially sort out up to thousands of categories and support thousands of bins.

By estimations, West says that it took about 10,000 pieces to build this sorter, which include six Lego motors, a few non-Lego components such as lighting for the camera, a Raspberry Pi, servos, and a laptop to power the sophisticated neural network for identifying every piece.

It was extremely challenging to make the machine accept buckets but present one at a time to the camera, but West managed to address that using two vibrating plates to make sure only one piece passes through each time. It took West six months to build this system but took him 2.5 years to perfect the software and neural network.

For training the neural network to identify each piece as captured by the camera on the sorter, this guy needed to access an image database of all Lego pieces ever made. He couldn’t get that from the company itself, so he 3D-printed the parts whose images are available on online databases like Rebrickable and Ldraw.org.

To help the image recognition software match a photo of a piece with its 3D render, the convolutional neural network kicks in. Essentially, it learned to match the pieces’ 3D renders to their photos taken by the camera, which happens fast enough for the machine to process about two pieces per second.

West intends to write a paper about this machine and may release his software for free, but he doesn't have the intention of publicizing the instructions to build the machine as he wants Lego enthusiasts to come up with their own thing.

Comments

Sort by Newest | Popular

Next Story

Read more

Gionee Steel 5 Is A New Entry-Level Phone With A 5,000mAh battery

Mobile- Jan 16, 2020

Gionee Steel 5 Is A New Entry-Level Phone With A 5,000mAh battery

Despite filing for bankruptcy, Chinese company Gionee is still developing smartphones and the latest offering is Gionee Steel 5.

Xiaomi Poco X2 Listed On Geekbench With Android 10 & 8GB RAM

Mobile- Jan 17, 2020

Xiaomi Poco X2 Listed On Geekbench With Android 10 & 8GB RAM

The benchmark scores of the Xiaomi Poco X2 are at the same level as the Redmi K30, which suggests that it could be a rebranded model of the Redmi K30.

There Will Be Two iPhone 12 Models With 6GB Of RAM

Mobile- Jan 17, 2020

There Will Be Two iPhone 12 Models With 6GB Of RAM

According to a new rumor, there will be two iPhone 12 models carrying 6GB of RAM, which is higher than 4GB RAM on the iPhone 11 Pro & iPhone 11 Pro Max.

Samsung Galaxy A71 Review: A Stunning Mid-Ranger From Samsung

Review- Jan 17, 2020

Samsung Galaxy A71 Review: A Stunning Mid-Ranger From Samsung

The Samsung Galaxy A71 is a new mid-range smartphone from Samsung with a 64MP quad rear camera setup and a Snapdragon 730G chipset as highlights.

Samsung Galaxy S20 Plus Hands-On Video: 120Hz Slightly-Curved Display & No Audio Jack

Mobile- Jan 17, 2020

Samsung Galaxy S20 Plus Hands-On Video: 120Hz Slightly-Curved Display & No Audio Jack

The Samsung Galaxy S20 Plus will have a center-aligned punch-hole at the top of its display, which is tipped to support 120Hz refresh rate.

Huawei P40 Renders: Punch-Hole Display & Galaxy S20-Like Triple Camera Cluster

Mobile- Jan 18, 2020

Huawei P40 Renders: Punch-Hole Display & Galaxy S20-Like Triple Camera Cluster

Huawei is expected to launch the Huawei P40 and P40 Pro in March, but we are not sure whether the brand will bring these two smartphones to India or not.