The WORLD'S FIRST Universal LEGO Sorting Machine

  Рет қаралды 471,428

Daniel West

Daniel West

Күн бұрын

Over two years in the making, this is the world's first Universal LEGO Sorting Machine, an AI-powered automated sorting machine that is capable of recognizing and sorting any LEGO part that has ever been produced*.
Follow me on Twitter for more updates and information about this and other projects: / justasquid
Be sure to check out my video about how I designed an artificial intelligence system to recognize LEGO parts: • LEGO Sorter AI: How Do...
I have also written some articles about some of the technology underlying the sorting machine:
towardsdatascience.com/a-high...
towardsdatascience.com/how-i-...
If you'd like to contact me, you can reach me on Twitter ( / justasquid )
Or LinkedIn ( / daniel-west-351731139 )
Or email daniel DOT west DOT 279 AT gmail.com
Music from the album 'Mirage' by the one and only Sam Gossner: samulis.bandcamp.com/album/mi...
Filming by my good friend Larry: / @larrygang
Editing and thumbnail by the incredible Test-Object - he's open for commissions: dieter DOT theuns AT gmail.com
This project would not have been possible without the use of some incredible open source hardware and software:
The Ldraw Part Library: ldraw.org
The Raspberry Pi Computer: raspberrypi.org
Blender: blender.org
Tensorflow: tensorflow.org
The Rebrickable part database: rebrickable.com
* (Subject to some limitations, e.g. parts that are unable to fit in the machine, flexible/articulated parts, parts not in the LDraw part library, etc)

Пікірлер: 372
@BeyondtheBrick
@BeyondtheBrick 4 жыл бұрын
Fantastic work, Daniel. Keep it up!
@colemanhugh6317
@colemanhugh6317 3 жыл бұрын
Instablaster.
@matthewnuzzaco2849
@matthewnuzzaco2849 4 жыл бұрын
I worked alongside a team in 2014 on a system that classified and counted LEGO. The concept worked but to industrialize the process was pretty challenging. Dealing with parts stuck together was the biggest problem. I love the fact that you went super meta and also made the machine out of LEGO
@csullivan626
@csullivan626 Жыл бұрын
Agreed. Selling the unit is an option but also selling the design so people can built their own is a good idea too since .. they obviously have legos and want to build stuff (would rather sort than toss). Lego inc. might even be interested!
@OriginalIdeaWeb
@OriginalIdeaWeb 4 жыл бұрын
Please consider a kickstarter or something, or selling plans and the software? This is amazing
@minlrgo
@minlrgo Жыл бұрын
i will eventualy do one that i will sell and it will handle as many different category as you want without more motor
@iRONcss
@iRONcss Жыл бұрын
@@minlrgo pls contact me
@minlrgo
@minlrgo Жыл бұрын
@@iRONcss do you have an email or discord
@csullivan626
@csullivan626 Жыл бұрын
I’d like to invest if you need any funding. I’d also like to own 1. Please feel free to reach out!
@minlrgo
@minlrgo Жыл бұрын
@@csullivan626 are you speaking to me ? or to andrew or else ?
@mortensimonsen1645
@mortensimonsen1645 3 жыл бұрын
The LEGO Company should make and sell lego-sorting machines. It should be possible to instruct the machine to sort bricks for a particular lego set, and note which pieces are missing (then automatically create a list of Bricklink).
@SamSmithNZ
@SamSmithNZ 8 ай бұрын
Are there plans for this? Is there a new version? I'm curious where this has gone in 3 years. Would love to see something like this open sourced (or sold) so the community can build on this.
@Pv-productions
@Pv-productions 4 жыл бұрын
Great project and execution. Bringing the best of LEGO and engineering together in a useful way!
@jacobl777
@jacobl777 4 жыл бұрын
Wow Daniel, super impressive! I am amazed at the creativity, resourcefulness, and just how cool it was that you did this. I am going to show this to my young son as an example of what he can aspire to with some some creativity and fortitude.
@Anthonybrother
@Anthonybrother 2 жыл бұрын
This is an amazing proof of concept. A very useful machine. Please consider making one to sort nuts, bolts and screws, and get rich selling it to DIYers. I'd be ready to pledge like 100$ if you needed crowdfunding.
@friendlychips
@friendlychips 5 ай бұрын
I'm so glad someone brought this idea to life. It is incredible what you have created and I can't wait to see whatever you do next!
@zaquszacz
@zaquszacz 4 жыл бұрын
I'm totally in love with this project :D Great execution! Will surely feature this in my weekly technology report (even though I saw this a little bit late). Good luck with any following projects!
@chinca
@chinca 4 жыл бұрын
amazing. Been dreaming up something along these lines for years. Bravo on getting it done!
@brothersbrick
@brothersbrick 4 жыл бұрын
That's incredible. Well done!
@naugthiusmaximus5013
@naugthiusmaximus5013 2 жыл бұрын
Woahh!! Crazy stuff, I like. I've dreamt of a machine like this but in which you could feed in specific model(s) plan(s) so that the sorting can be made to segregate a ton-load of pieces by models. This could be a super tool for dads with kids that had way too much legos over the years and now all the pieces are mixed up in the same bin or part of a weird custom made model 😁 ....just an idea for your next project🤣
@teamblueflare5464
@teamblueflare5464 4 жыл бұрын
Dude this is amazing and you are amazing, someone get this man some views
@albusron3490
@albusron3490 3 жыл бұрын
"Everyone hates sorting LEGO" Speak for yourself, I LOVE sorting LEGO.
@joki6395
@joki6395 4 жыл бұрын
u are very smart, I have had ideas of a machine like this myself, but never understood how the computer would recognize a part
@nicolaimogensen8167
@nicolaimogensen8167 4 жыл бұрын
Very cool project, have been following along on Twitter. Good job 😎
@iPondrio
@iPondrio 3 жыл бұрын
It would be nice to see this as an official LEGO set, I would definitely buy it !
@ivanivonovich9863
@ivanivonovich9863 2 жыл бұрын
It would be the most expensive set you could have. Plus, you did read that it took 2 years to design and developed this, right? So how long do you think it would take to assemble one from a set? Perhaps at least two months? And that would be if you got every moving part/system together right the first time. Great idea though!
@neumannon
@neumannon 4 жыл бұрын
This is fantastic! I've had this idea for awhile but just never had time to dedicate to the project. As a "Phase 2", my plan was to keep an inventory database of the detected bricks that were sorted. Then run this database against all available lego building set instructions. So based on the legos someone owns, they can choose a set of instructions and build to completion whatever the thing is. And on top of this, maybe add thresholds where a user can say they want lego instructions for sets that are a certain percent complete. so if i input 90%, it would find not only lego instructions for sets i can complete in its entirety but lego instructions where i have 90% of the bricks available to complete the set. One last thing, you could have a user community for contributing instruction sets. A person could filter on official only instructions or include user generated instructions as well. Anyway, it is a pipe dream of mine. If you are feeling ambitious, maybe it is something you could add on to your already awesome invention.
@kevinagan6174
@kevinagan6174 4 жыл бұрын
That technology already exists. Take a look at the "build" section of rebrickable.com/build/
@Bandit-Darville
@Bandit-Darville 4 жыл бұрын
Nice! This video made it on to a news website here in The Netherlands!
@Just_Paulo
@Just_Paulo 4 жыл бұрын
Lol. Same. Just got it into my Google feed
@stopmotionmaster5933
@stopmotionmaster5933 4 жыл бұрын
Welke als ik vragen mag?
@Bandit-Darville
@Bandit-Darville 4 жыл бұрын
nu.nl www.nu.nl/277861/video/slimme-lego-machine-herkent-en-sorteert-lego-stenen.html
@ThatDumbDoge
@ThatDumbDoge 4 жыл бұрын
Nog niet gelezen, ga nu bekijken!
@TheGrainDoctor
@TheGrainDoctor 4 жыл бұрын
Very cool! Looking forward to the other video!
@xobotix
@xobotix 4 жыл бұрын
I cant wait to see what you do next :) Cheers
@kebvr25
@kebvr25 2 жыл бұрын
This is incredible!! Would you do a video on the 18 categories you use? I've been trying to find a good way to organize bricks.
@antoniorobles8706
@antoniorobles8706 4 жыл бұрын
Hard work, passion, creativity, technology, ART!
@ninline2000
@ninline2000 3 жыл бұрын
This is an amazing project. Well done.
@LegoCloud
@LegoCloud 4 жыл бұрын
Dang dude that is insane, I’d lose my mind building that thing you. are. truly insane! :)
@p.b.6034
@p.b.6034 2 жыл бұрын
wooow... Daniel you made incredible job. I love spend time with brick but sorting for long time is exhausting :D
@cgstadler
@cgstadler 4 жыл бұрын
Daniel - can you comment as to how you decided on the final buckets / taxonomy? Like, is it all gears in one bucket, and then simple blocks? I'd love to see more on that, if you do a followup video. Thank you!
@madmax.bricks
@madmax.bricks 4 жыл бұрын
We want instructions!
@g2rinfo675
@g2rinfo675 4 жыл бұрын
We could use that at Gears 2 Robots! So much time is spent sorting Lego Education kits after summer camps and classes!
@Darthrush1
@Darthrush1 4 жыл бұрын
You are a genius, absolutely amazing work.
@swampcastle8142
@swampcastle8142 Жыл бұрын
Step one: buy a big pile of legos Step two: build a sorting machine Step three: buy another big pile of legos Step four: sort the pile of legos Love it
@Victor.Channel
@Victor.Channel 4 жыл бұрын
Great idea. Thank’s for sharing.
@bakkerem1967
@bakkerem1967 4 жыл бұрын
I'm curious if you will be able to link to resulting brick inventory to the bricklink database, so you instantly can see what sets the lot comprises of (and what stones are missing). Next step would be to sort the bricks straight into bins, dedicated to a single set.
@carlwestman9343
@carlwestman9343 3 жыл бұрын
Awsome project! Will you ever make any of the code/dataset public? 😊 I think the benefits would be great since more people could keep improving both 😁
@antoineddp
@antoineddp 3 жыл бұрын
Really nice job ! Hope it will goes even faster !
@alirezakaramali1844
@alirezakaramali1844 4 жыл бұрын
good job. this is very interesting project .I enjoyed.
@BricksMinifigs1078
@BricksMinifigs1078 4 жыл бұрын
Would love to figure out how to build this, awesome work!
@ValleyOfWillows
@ValleyOfWillows 4 жыл бұрын
I work at a tortilla chips manufacturing company and they use the same technique of a vibrating plate to spread out the chips with before they pass them under a camera to see if there are too browned or burned chips among them.
@Ree1981
@Ree1981 4 жыл бұрын
Well now you can input random variable images into the neural net and increase its efficiency!
@c0nsaw
@c0nsaw 4 жыл бұрын
Fantastic, well done
@BurnZKc
@BurnZKc 4 жыл бұрын
This is insane, how cool!
@angellomercado5747
@angellomercado5747 4 жыл бұрын
Wuao 2 años, excelente amigo, saludos desde Perú 🇵🇪
@tonyshepherd6053
@tonyshepherd6053 4 жыл бұрын
Great job Daniel!
@manugo4
@manugo4 4 жыл бұрын
Amazing work!!
@gyverworld
@gyverworld 4 жыл бұрын
Awesome man... Nice Work
@NinaKlos
@NinaKlos 4 жыл бұрын
This is awesome!
@RailRoad188
@RailRoad188 10 ай бұрын
Very impressive, and will help so many with other similar, and less similar projects! ❤
@daved22
@daved22 4 жыл бұрын
Can you put this on Lego Ideas, i know it would never get made but maybe its a way to give lego wake up call of what AFOLs really want . less time sorting and more time building !
@zebramax3
@zebramax3 4 жыл бұрын
Hey this is great... You just discovered how to sort plastic bottles into the right plastic groups for recycling.
@Quantum-Bullet
@Quantum-Bullet 4 жыл бұрын
zebramax3 and, how many % are actually really recycled and not burned?
@davis3138
@davis3138 4 жыл бұрын
It's trained on 3D models. So do you really think it's feasible to make a 3D model for every single type of plastic bottle, every color, every brand, every shape, not to mention variations of such bottles, whether they be dented, malformed, or otherwise misshapen?
@fitybux4664
@fitybux4664 2 жыл бұрын
@Roman Hauksson-Neill For the non-popular ones, you can just sell it to the next guy with a better sorter. :-)
@IanNelson888
@IanNelson888 4 жыл бұрын
This is soooo freakin cool!
@onegalaxyplay
@onegalaxyplay 3 жыл бұрын
So cool! i saw this when i was at the Raspberry Pi website.
@coleklaassen9427
@coleklaassen9427 4 жыл бұрын
David, first off I love this so much you're a genius. Because the pieces aren't all the way sorted, could you put each bucket (category) back into the machine and let it further sort it? In the end, you could be 100% sorted. Just a thought.
@coleklaassen9427
@coleklaassen9427 4 жыл бұрын
Also, your name isn't David that's a fun mistake, so sorry
@Brickyfilms
@Brickyfilms 2 жыл бұрын
Absolutely incredible
@TheLab-X
@TheLab-X 2 жыл бұрын
Just found your video. Great job!
@sdkfgnrjdi
@sdkfgnrjdi 2 жыл бұрын
I cannot believe this guy stopped making videos after this one. I hope that is because his focusing on the production of this amazing machine.
@notexcisting546
@notexcisting546 4 жыл бұрын
How can you be sick of sorting? It's the best part of LEGO! But I love your approach.
@anarrichjr6747
@anarrichjr6747 4 жыл бұрын
+1000!
@Tekar0
@Tekar0 3 жыл бұрын
I'm dreaming of the day when I can select a brick in an app on my phone, point the camera to a pile of Lego and it finds and highlights the brick on my screen. Sort of like the real time text translation, but then for finding Lego bricks.
@Attirbrolyat
@Attirbrolyat Жыл бұрын
I check up on the progress of this every few years. It would be great if some day there was a machine -- like a coinstar -- i could dump buckets of legos into for sorting! I would pay good money for that, though with so many different shapes and colors, I suppose it would be very difficult, as you demonstrate here. You would also have trouble with dust and other random junk that seems to build in lego storage containers over time. Also, where would it sort it into? I think perhaps a good business model would be to ask someone to ship you a box and then you would provide a storage container with many compartments. That would allow you to keep it relatively small scale until you had the capital to build more sorting machines.
@mattiasranbro
@mattiasranbro 4 жыл бұрын
Well done!
@DamoZhang
@DamoZhang 3 ай бұрын
wow! great job!
@Skorpeonismyrealname
@Skorpeonismyrealname 4 жыл бұрын
Designing, building, prototyping, programming, bugfixing, and improving it is still probably faster than doing it manually.
@shpe11
@shpe11 4 жыл бұрын
I find very useful to sort lego by colors
@toyaji6123
@toyaji6123 3 жыл бұрын
Beautiful!
@rudestrudedog
@rudestrudedog 3 жыл бұрын
Great Job!!!
@chrisallsopp6450
@chrisallsopp6450 Жыл бұрын
very clever keep it up, thanks
@griszaowniuk5775
@griszaowniuk5775 2 жыл бұрын
Fantastic job 👌
@an3my554
@an3my554 3 жыл бұрын
Underrated ngl, great
@ArcadiumSol
@ArcadiumSol 4 жыл бұрын
Id love to have one of these
@John-bq1lp
@John-bq1lp 4 жыл бұрын
Wow incredible!
@math_science_programming188
@math_science_programming188 4 жыл бұрын
I need this for the kids, big up!
@sbazzle
@sbazzle 2 жыл бұрын
Daniel, have you continued to use this machine or made improvements to it? There definitely needs to be an updated video to this (or additional article updates), preferably with more information on the details of its operation.
@Relhak11
@Relhak11 4 жыл бұрын
This would be insanely useful for sorting parts from new sets. I typically open 10-30 copies of a set at a time and match up the bags so there are about 25-35 unique parts in a batch of 1000+ pieces. Being able to have them sorted at even 95%+ accuracy would be huge. I'd love to help in testing to make this something that can be built and used by lots of people.
@cskinner2108
@cskinner2108 10 ай бұрын
Why do you open 25-35 sets at a time? How had it been 3 years and no one questioned this?
@10poundsimracing14
@10poundsimracing14 3 жыл бұрын
Cool design
@kostyavedernikov
@kostyavedernikov 3 жыл бұрын
It is very very cool! You are genius!
@TheCentaury
@TheCentaury 4 жыл бұрын
now a second machine that shuffle the sorted containers and feed the sorting machine
@utnildo
@utnildo 3 жыл бұрын
This is amazing
@PsyKater
@PsyKater 4 жыл бұрын
This is what Bricklink Shop owners are waiting for xD
@AgeArena
@AgeArena 3 жыл бұрын
Great work! How accurate was the classification?
@tiangersbach
@tiangersbach 4 жыл бұрын
shut up and take my money!!
@FarragoFox
@FarragoFox 4 жыл бұрын
Have you considered adding a counting function for inventory?
@seandavchrsn
@seandavchrsn 4 жыл бұрын
Well done, sir.
@JonSmirl
@JonSmirl 4 жыл бұрын
A Kendryte K210 Maix board (~$20) would be about 100x faster than the PI for the image recognition task. You can load tensorflow models onto it.
@nikkelitous
@nikkelitous 4 жыл бұрын
There is even a port of YOLO for the K210 (Search it on Github). That would be hard to optimize as easily as using a proper GPU on an external computer, but a good fun project. If only we had the dataset ;)
@JonSmirl
@JonSmirl 4 жыл бұрын
@@nikkelitous s3.cn-north-1.amazonaws.com.cn/dl.kendryte.com/documents/kendryte_datasheet_20181011163248_en.pdf
@nikkelitous
@nikkelitous 4 жыл бұрын
@@JonSmirl Yup, it's a fun toy. I have a few Sipeed Maix boards with the K210. Fun to play around with, but optimizing a model for them is a pain compared to throwing the image over the network sometimes.
@davidcooke8005
@davidcooke8005 4 жыл бұрын
Can it sort by color too? In any case, bravo. Thankfully you are using your powers for good, not evil.
@gorancelion3297
@gorancelion3297 4 жыл бұрын
What criteria do you use to determine which model part goes to which container? - all parts of the same color of whatever shape go to the same container - all parts of the building with the same shape regardless of color goes to the same container - all parts of a lego model such as a helicopter or fire station go to the same container
@sqiddster
@sqiddster 4 жыл бұрын
It's arbitrary, and it would take a minimal point of code to change it to work like any of those options
@StevesRealWorld
@StevesRealWorld 2 жыл бұрын
I'll take one!!! Love it
@nomadMik
@nomadMik 3 жыл бұрын
Wow. You win KZbin this week!
@MattApple_
@MattApple_ 4 жыл бұрын
I wonder how it handles non-Lego; either knock-off bricks or random objects. Also the feeder system requires that all the bricks be disconnected from each other inside the hopper. Would stuck together bricks be treated like a never before seen piece type?
@BrickByBrick
@BrickByBrick 4 жыл бұрын
nice machine did you have some instructions?
@UnwrappingByMimiKoteng
@UnwrappingByMimiKoteng 4 жыл бұрын
Amazing
@nicholasn.2883
@nicholasn.2883 4 жыл бұрын
This is definitely the optimal solution, but a much easier on to build would be one that can identify each piece by weight and then shape if pieces share a weight. I actually might be able to build my version at home and not need a crazy budget nor a crazy time investment.
@sqiddster
@sqiddster 4 жыл бұрын
Yes, weighing the parts would be very helpful (akiyuky does that in his machine) but it is hard to weight parts and maintain a good speed
@nc55
@nc55 4 жыл бұрын
I so need this at the moment. My stranger things house fell off a shelve and smashed into a millions piece
@BuWizzBrick
@BuWizzBrick 2 жыл бұрын
Very impressive! :-)
@peegee101
@peegee101 3 жыл бұрын
Dude, this is amazing. Have you considered to use a Google Coral edge-processor to make it fully autarg? Basically a the Google Coral can infer Neural Networks really fast, and can be connected as a dongle to raspberry pi.
@t0ms3nt0ms3n
@t0ms3nt0ms3n 2 жыл бұрын
Today it's really hard to find a coral sold somewhere anymore 😭
@TheKodypratt
@TheKodypratt 4 жыл бұрын
awesome!
@knudahrnellalbrechtsen5136
@knudahrnellalbrechtsen5136 3 жыл бұрын
You could make a fortune selling the design online for this machine :D
@julianholcroft9625
@julianholcroft9625 4 жыл бұрын
Can you make the training data available want to make a similar project but I don't really understand how you made the images or what AI you are using from the TensorFlow package.
@matt77hias
@matt77hias 4 жыл бұрын
Why do you not use one of the LEGO CAD programs for training? That way you can use 3D models with all possible cameras and lighting instead of relying on 2D photographs.
@polyanskyvideo
@polyanskyvideo 3 жыл бұрын
thats great!
@SandsGC
@SandsGC 4 жыл бұрын
Fantastic
@michaelweatherby8648
@michaelweatherby8648 3 жыл бұрын
Great job, very cool and technically impressive! I had seen the video from 2017 also, and just recently helped my son organize his legos into 6 categories. I too am motivated to perhaps build a lego sorter. 1x square bricks, 2x square bricks, flat pieces (any size), transparent/angled/architectural bricks, technic (anything that connects, wheels, or wheel hubs), and people/animal accessories. We've found with those 6 categories that it becomes much easier to find items without having to have massive amounts of categories. I think you said 1 piece every 2 seconds, is the limiting factor in your system the mechanical separation or the video/AI processing? It would be interesting if one could develop a more compact and speedy version, by reducing the requirements for accuracy. I thought it would be interesting if one could dump a bucket of lego and resort it into sets one had purchased, based on the parts list. it could be offered as a service at LEGO shows.
@sqiddster
@sqiddster 3 жыл бұрын
Thanks, and good luck with your own machine! The part throughput is definitely limited by the mechanical separation. The AI speed is very fast.
How We Process Bulk LEGO(R) + Sorting Room Tour
14:07
Atlanta Brick Co Tv
Рет қаралды 31 М.
Infinite LEGO Candy Factory...
18:09
Brick Machines
Рет қаралды 3,7 МЛН
Fast and Furious: New Zealand 🚗
00:29
How Ridiculous
Рет қаралды 45 МЛН
Double Stacked Pizza @Lionfield @ChefRush
00:33
albert_cancook
Рет қаралды 119 МЛН
Red❤️+Green💚=
00:38
ISSEI / いっせい
Рет қаралды 91 МЛН
I Filmed Plants For 15 years | Time-lapse Compilation
30:40
Boxlapse
Рет қаралды 12 МЛН
Incredible Coin Sorting Machine
6:41
The Q
Рет қаралды 3 МЛН
Adam Savage Builds a LEGO Sorting and Storage System!
31:01
Adam Savage’s Tested
Рет қаралды 1,5 МЛН
Inside a *MASSIVE* LEGO Bricklink store! (Wild Bricks GA)
8:28
Ant Bandit
Рет қаралды 198 М.
DIY LEGO Brick Sorter | I Like To Make Stuff
15:48
I Like To Make Stuff
Рет қаралды 449 М.
Destroying 28 Lego Mechanisms
8:35
Brick Technology
Рет қаралды 7 МЛН
BEST LEGO SORTING TOOL!
12:47
Bricksie
Рет қаралды 119 М.
Lego Automatisch Sortieren (LegoLAS) - Mechatronische Legosortiermaschine
7:48
Jörn Schlingensiepen
Рет қаралды 29 М.
Sorting All of My LEGO!
10:31
Bricksie
Рет қаралды 50 М.
BrickIt - Dynaway Sorting Plant
3:00
brickitdk
Рет қаралды 385 М.
low battery 🪫
0:10
dednahype
Рет қаралды 1,8 МЛН
My iPhone 15 pro max 😱🫣😂
0:21
Nadir Show
Рет қаралды 1,8 МЛН
Лучший браузер!
0:27
Honey Montana
Рет қаралды 1,1 МЛН
Какой ноутбук взять для учёбы? #msi #rtx4090 #laptop #юмор #игровой #apple #shorts
0:18