Shipping secret messages through barcodes

Razor

2018/03/06 发布于 技术 分类

pycascades 

文字内容
1. Shipping secret messages through barcodes Karina Ruzinov Software Engineer @ Transfix
2. Logistics Point A ➡ Point B ?????? ?????? ✈
3. Lingo • Carrier: does the shipping of The Thing • UPS, USPS, FedEx • Shipper: the creator of The Thing • Warby Parker, Five Guys, Nike
4. So…barcodes?
6. UPC Code39
8. What you’re seeing
9. What the carrier is seeing 420112159361289697090020989867
10. The Identifier for Zip Codes 420 11215 9361289697090020989867 My actual zip code What the customer impatiently stalks
11. But how did the scanner know how to do this
13. Convert the reading teFolieracsttdrtiighciaitnlagsl sirgefinprarselts.freonmtatthioenLED
14. Image credit: carolinabarcode.com
16. 11000101000 11000100010
17. Is thBeefcohreecwkedipgriot cceoerdre.ct?
18. Convert to ASCII text based on decoder 11000101000 = 40 = H 11000100010 = 41 = I
19. Output the final text Allows us to go from To this
20. But how does this relate to Python
21. But before Python, ZPL! (Zebra Programming Language)
23. Python! (writing ZPL)
24. These are important
26. X,Y coordinates
29. A “tall” number
36. Shipping labels are fun and aQll,RbCutOwDhaEtSe!lse is out there?
37. Quick Aside...
38. Quick Response Code?! • Uses our of alphanumeric representation -> integer -> binary map • Data is encoded in a zig zag fashion • Level of error correction impacts the quantity of data that can be stored within the QR Code • Masking to appease the scanner
39. But thankfully we have ZPL (+ Python) ??????
41. Easy QR Code call Unintuitive ZPL we didn’t have to write
43. How about a demo?
44. Takeaway • A lot is hidden in plain sight • Why type something, when you can just scan it? • Barcodes are cool
45. Thanks! Questions? @kruzinov