Hi!
I would recommend you to take a look at this [OpenCV tutorial](http://docs.opencv.org/doc/tutorials/objdetect/cascade_classifier/cascade_classifier.html#cascade-classifier).
It explains how to detect faces and eyes on images. About the *smile*, I don't know if already exists a haarcascade or lbp model for that, but you can always train your own.
I hope this helps.
↧