If you have an iOS device and want to see what is encoded in these codes, the app below appears to be able to decipher the most esoteric machine readable codes.
(There is a scary level of detail on the 2D code on the back of a modern drivers license.)