A computer algorithm that can identify complex emotions from facial expressions is a step towards improving the human-machine interface, write Lisa Williams and Eliza Bliss-Moreau.