http://www.emotient.com/
http://www.affdex.com/
They work reasonably well if a frontal face picture can be captured.