Illustration of scientists looking at someone working on a screen

Can a machine tell that you're mad just by looking at your face? Do your emails give away how stressed you are? Could a computer understand your emotions better than you?