Denis Papathanasiou has taken an off-the-shelf USB barcode scanner and plugged it into his Raspberry Pi. He’s then written some code to use barcode data stored at the Open Product Data (POD) project to tell the Pi what the product is and then plugged it into the Amazon API to let him re-order things with a quick scan. He’s provided all the code on Github. Read more here.