A sensationalist article titled "Robots understand our emotions" (sorry for parodying) discusses a software that is going to be shown in a british science exhibition, which is able to interpret face expressions into emotions:
"The invention works pretty “simple”: a small camera takes pictures of one’s face and transmits them to a computer program, which analyzes 24 key-points or “feature-points” (the edge of the nose, the eyebrows and the corners of the mouth, etc.).
Actors were used to indicate to the computer what facial expressions correspond to certain emotions, and for now the computer can recognize almost 20 different emotions indicated by a nod or shake of the head, a raise of the eyebrow or pull on the corner of the mouth."
The article mentions several possible applications among them helping people with Asperger's syndrome and advertising.
The prototype to be shown was developed in Cambridge and is supposed to increase his capabilities through learning at the show.