This is no easy task. Because a persons lips are such a different color from the rest of the face, I would try to look for a reddish area and use a bank to remember and track its position and shape. You would still need to detect a range of redish colors for it to fully detect the mouth, and it would have difficulty if the subject was sunburnt or blushing.
Just out of curiosity, what are you using this for?
Just out of curiosity, what are you using this for?