YALSM YALSM is Yet Another Lego Sorting Machine to sort Lego pieces into the correct box. This uses image recognition and a Raspberry PI but otherwise the machine is made of lego. This is the code used to power the PI.