How AI detects human emotions