In this code crafting video featured at craftzine, knitting knerd Becky Stern shows how to create a 2D-barcode-scarf on her Brother KH-930 knitting machine.
You might use this technique to embed your email address in the QR Code, so others can contact you in case you have lost your scarf.