Patent ID: 8717465

Claim:
A blemish detection system, comprising: an image capturing module comprising an image sensor configured for capturing a first image; a brightness adjusting module configured for adjusting the brightness of the first image to obtain a second image, the second image having substantially uniform brightness; and a blemish detecting module storing a predetermined reference value and a predetermined pixel quantity and configured for calculating a brightness ratio of each pixel in the second image and marking the pixels of which the brightness ratios are greater than or equal to the predetermined reference value as “1” and marking the pixels of which the brightness ratios are smaller than the predetermined reference value as “0”, the blemish detecting module also configured for calculating the quantity of the pixels in a continuous area in which all pixels are marked as “1” and determining that the continuous area is a blemish if the quantity of the pixels in the continuous area is greater than or equal to the predetermined pixel quantity.