In order to solve the difficulties of binarization caused by uneven illumination of the acquired images, the digital image uneven illumination correction algorithm based on the probability is applied to illumination correction for the ID card. This algorithm uses a statistical method when extracting the background. It first calculates the mean and standard deviation of the pixels' brightness, then calculates the grayscale of the background, according to the statistical value. This is conducive to exclude th...