Affectiva's Emotion AI is a machine learning-based software that can detect complex and nuanced human cognitive and emotional states.