Auto Smiley is the latest F.A.T. project by Theo Watson. It’s a little app that runs in the background while you work. It analyzes your face and each time it detects a smiley, it adds a smiley :) to the front most application. Theo used openFrameworks and MPT for the smile detection. Of course you can download the app and the sources here (I actually had to change some values in the source code so that it would work with my keyboard).