Norman Joseph Woodland and Bernard Silver designed a pattern of concentric rings that a machine could read, and were granted a patent in 1952.
Lasers and computers made scanning practical, and in June 1974 a pack of chewing gum was the first product scanned at a supermarket checkout in Ohio. The rectangular UPC became the standard.