1. A computer program product comprising at least one computer-readable medium storing one or more sequences of instructions, wherein execution of the one or more sequences of instructions by one or more processors causes the one or more processors to reduce leakage of a double-sided document by causing the following steps comprising: obtaining a first image X captured by a sensor array, the first image X being an image of a first side A of a double-sided document; obtaining a second image Y captured by a sensor array, the second image Y being an image of a second side B of the double-sided document; estimating leakage of the second side B onto the first side A; and applying a leakage mitigation function to the first image X minus the estimated leakage of the second side B onto the first side A to obtain an estimate image of the first side A.