Add Yahoo as a preferred source to see more of our stories on Google. The first modern barcode was scanned 50 years ago this summer – on a 10-pack of chewing gum in a grocery store in Troy, Ohio.