Human computer interaction is a fascinated field to study. Teaching machines to decode subtle cues of our feelings is not without challenges, but many researchers are already working on it. Take Charles for instance. It is an animatronic head with 24 motors controlling its face, giving it human emotions. He is built to see whether humans are comfortable with an emotional robot.
As you can see in the above video, this robot remains a work in progress.
[Source]