Ask Your Question

Revision history [back]

You will have to create a smile detector by creating a classifier. Approaches that you could follow are SVM, random forests, kNN approaches. You should take a peek at the machine learning library of OpenCV.

Also please look around on the net, I have seen tons of people trying to implement this and solutions been given alot. First simple google search gave me this movie, in comments you can find his source code.

http://www.youtube.com/watch?v=AA78saEk29E