I have successfully detected pimples through code described in this link http://answers.opencv.org/question/72176/detect-red-pimples-on-face-using-opencv/# , Now how to change colors of detected pimples to skin color? That matches with other part of face skin