1. A system having a memory and a processor that processes at least one image captured from a printed document and that processes at least one image captured from a display surface other than a printed document, the system comprising: a surface-type-identification module that accepts as input the at least one image captured from a printed document and the at least one image captured from a display surface other than a printed document and that identifies, for a particular image, a type of surface from which the image was captured, wherein the type of surface is selected from a group consisting of: a printed document and a display surface other than a printed document, wherein the surface-type-identification module comprises a feature-based surface-type-identification module that identifies, based on a feature vector, the type of surface from which the particular image was captured and wherein the feature-based surface-type-identification module identifies the type of surface from which the particular image was captured using a linear classifier to distinguish between a feature vector of an image that was captured from a printed document and a feature vector of an image that was captured from a display surface other than a printed document; a display-surface-preprocessing module comprising computer-executable instructions stored in the memory that, when executed by the processor, preprocesses the particular image according to a first preprocessing algorithm when the particular image is identified as having been captured from a display surface other than a printed document; a printed-document-preprocessing module comprising computer-executable instructions stored in the memory that, when executed by the processor, preprocesses the particular image according to a second preprocessing algorithm when the particular image is identified as having been captured from a printed document; and an embedded-interaction-code-processing module that outputs location information for at least one of the at least one image captured from a printed document and the at least one image captured from a display surface other than a printed document.