The second generation of ID photos have been required strict standards for personal digital photos. Research a new image processing technology to convert the personal photo into the standard ID photo or passport photo. The photos after processing will be qualified by " The Second generation ID photodetection platform" and can be used on ID card. A new method of image processing was proposed, which can change the normal personal photo into the standard ID photo. The proposed method includes three steps. Firstly, the clipping algorithm based on distance along the head is put forward, which is used to cut the photo to fit the rules of requirements. Secondly, the improved FloodFill algorithm is proposed to use for changing the photo background. Thirdly, the mean RGB color of skin adjustment algorithm is used to adjust and equalize the face colour of the photo, so that the photo can be fit the standards and pass the detection platform. The unqualified photos are successfully processed into qualified ID photos. Using the image processing method proposed in this paper to process photo, which only requires a single photo with a relatively simple background for user. After upon three steps, The single photo can be processed into a standard identity card photo. The proposed method has been proved to resolve the inconvenience of ID photo have to be taken with care in photo studio.
|