Ultralytics YOLO27:
License YOLO
Back to Ultralytics Glossary

Affective Computing

Affective computing builds systems that sense and respond to human emotion. Its signals, datasets, real uses, and the scientific and legal limits it faces.

Affective computing is the field of computing that recognizes, interprets, responds to, or simulates human emotion and related states such as stress, engagement, and fatigue. Rosalind Picard of the MIT Media Lab named the field in a 1995 technical report and her 1997 book Affective Computing, arguing that computers that work closely with people need some ability to recognize and express emotion, and her Affective Computing group still publishes in the area. Commercial systems that estimate emotion from faces or voices are often sold as emotion AI.

Signals and Emotion Models#

Affective systems read observable signals: facial expressions, tone and rhythm of voice, word choice, posture and gestures, and physiological measures such as heart rate and skin conductance from wearable sensors. Each signal is ambiguous on its own, so multimodal AI models that combine several channels are usually more reliable than any single one.

Two ways of representing emotion dominate. Categorical models assign discrete labels, often based on psychologist Paul Ekman's basic emotions: happiness, sadness, anger, fear, surprise, and disgust. Ekman and Wallace Friesen's Facial Action Coding System, published in 1978, breaks expressions into numbered action units for individual muscle movements, such as the lip-corner pull of a smile, and many facial analysis systems detect these units first. Dimensional models instead place a state on continuous axes, most commonly valence (pleasant to unpleasant) and arousal (calm to excited).

Public datasets follow the same split. FER2013, released for a 2013 machine learning challenge, contains 35,887 grayscale face images at 48 x 48 pixels labeled with seven expressions for image classification. AffectNet, published in 2017, gathered more than one million face images from the web, about half of them manually annotated with expression categories and with valence and arousal scores.

The field overlaps with several better-defined tasks. Facial recognition establishes who a person is, while facial expression analysis describes what their face is doing. Sentiment analysis classifies opinions in text as positive or negative, a narrower target than the moods and physiological states affective systems estimate. Conversational AI adds the simulation side: a chatbot or voice assistant that mirrors a user's emotional tone simulates empathy, which makes agreement from a model prone to AI sycophancy feel more persuasive and is one of the humanlike traits linked to AI psychosis.

Where Affective Computing Is Used#

Driver monitoring is one of the most widely deployed applications. Under the EU General Safety Regulation, every new vehicle sold in the EU has needed a drowsiness and attention warning since July 2024 and an advanced driver distraction warning since July 2026, and camera-based driver monitoring systems meet these rules by watching for closed eyes, yawning, head pose, and phone use. Ultralytics YOLO26 models can be trained to detect these cues for driver monitoring, and pose estimation adds head and body keypoints that reveal slumping or a head turned away from the road. These systems estimate fatigue and driver attention, observable states with direct safety consequences.

Media research is another long-standing use. Affectiva, spun out of Picard's lab in 2009 and acquired by driver-monitoring company Smart Eye in 2021, built facial coding tools that measure audience reactions to advertisements and film frame by frame, aggregated across many viewers. Contact centers apply speech recognition and voice-based emotion analytics to flag frustrated callers and coach agents in real time, and health researchers use wearable signals to track stress and to detect seizures.

The step from expression to inner feeling is an inference, and a contested one. A 2019 review led by Lisa Feldman Barrett examined more than 1,000 studies and concluded that facial movements do not reliably map onto specific emotions across people, cultures, and situations: people scowl when angry less often than the stereotype suggests, and they scowl for many reasons other than anger. Systems trained on posed or web-collected faces also inherit dataset bias, with uneven accuracy across age groups, skin tones, and cultures, and neurodivergent people may express emotion in ways the training data does not cover. Microsoft retired the emotion-inference features of its Azure Face service in 2022, citing the lack of scientific consensus on the definition of emotions and the privacy concerns around such capabilities.

Law now draws firm lines. Article 5(1)(f) of the EU AI Act has prohibited AI systems that infer the emotions of people in workplaces and educational institutions since 2 February 2025, except for medical or safety reasons. Emotion recognition elsewhere is classified as high-risk, with those obligations now due from December 2027 after the EU's 2026 Digital Omnibus delayed them, and since August 2026 anyone deploying such a system must inform the people exposed to it. Because affective systems process faces, voices, and physiological signals, data privacy rules for biometric data apply as well, which favors edge AI designs that process video on the device and keep only the derived alert.

Explore solutions

Computer vision in sports

Computer vision in sports

Discover how Ultralytics YOLO powers sports vision with player and ball tracking, performance analytics, coaching insights, and athlete rehabilitation.
Learn more
Computer vision for aerial imagery

Computer vision for aerial imagery

Transform drone and aerial imagery into real-time insights for agriculture, aquaculture, environmental monitoring, conservation, and geospatial analysis with Ultralytics YOLO.
Learn more
Computer vision in aerospace

Computer vision in aerospace

Bring vision AI to aerial monitoring with Ultralytics YOLO models. Power drones, aerospace workflows, environmental conservation & geospatial industries with computer vision solutions.
Learn more
Computer vision in security

Computer vision in security

Protect every site with Ultralytics YOLO models. Vision AI powers perimeter monitoring, threat detection, license-plate recognition, and workplace safety.
Learn more
Computer vision in robotics

Computer vision in robotics

Power smarter machines with Ultralytics YOLO models. Vision AI in robotics drives autonomous navigation, perception, object tracking, and real-time control.
Learn more
Computer vision in logistics

Computer vision in logistics

Streamline logistics with Ultralytics YOLO models. Vision AI enables package inspection, sorting, vehicle tracking, and real-time warehouse safety monitoring.
Learn more
Computer vision in retail

Computer vision in retail

Reimagine retail with Ultralytics YOLO models. Vision AI powers inventory tracking, shelf monitoring, queue management, and smarter customer insights.
Learn more
Computer vision in healthcare

Computer vision in healthcare

Build healthcare solutions with Ultralytics YOLO models. Vision AI in healthcare powers faster medical imaging, smarter diagnostics, and patient monitoring.
Learn more
Computer vision in manufacturing

Computer vision in manufacturing

Optimize manufacturing with Ultralytics YOLO models. Vision AI drives quality control, defect detection, PPE compliance, and assembly line automation.
Learn more
Computer vision in automotive

Computer vision in automotive

Apply computer vision in automotive with Ultralytics YOLO models. Vision AI elevates road safety, driver assistance, and vehicle automation for smarter roads.
Learn more
Computer vision in agriculture

Computer vision in agriculture

Bring vision AI to smart agriculture with Ultralytics YOLO models. Power crop monitoring, livestock tracking, and precision farming for higher, smarter yields.
Learn more
Computer vision in sports

Computer vision in sports

Discover how Ultralytics YOLO powers sports vision with player and ball tracking, performance analytics, coaching insights, and athlete rehabilitation.
Learn more
Computer vision for aerial imagery

Computer vision for aerial imagery

Transform drone and aerial imagery into real-time insights for agriculture, aquaculture, environmental monitoring, conservation, and geospatial analysis with Ultralytics YOLO.
Learn more
Computer vision in aerospace

Computer vision in aerospace

Bring vision AI to aerial monitoring with Ultralytics YOLO models. Power drones, aerospace workflows, environmental conservation & geospatial industries with computer vision solutions.
Learn more
Computer vision in security

Computer vision in security

Protect every site with Ultralytics YOLO models. Vision AI powers perimeter monitoring, threat detection, license-plate recognition, and workplace safety.
Learn more
Computer vision in robotics

Computer vision in robotics

Power smarter machines with Ultralytics YOLO models. Vision AI in robotics drives autonomous navigation, perception, object tracking, and real-time control.
Learn more
Computer vision in logistics

Computer vision in logistics

Streamline logistics with Ultralytics YOLO models. Vision AI enables package inspection, sorting, vehicle tracking, and real-time warehouse safety monitoring.
Learn more
Computer vision in retail

Computer vision in retail

Reimagine retail with Ultralytics YOLO models. Vision AI powers inventory tracking, shelf monitoring, queue management, and smarter customer insights.
Learn more
Computer vision in healthcare

Computer vision in healthcare

Build healthcare solutions with Ultralytics YOLO models. Vision AI in healthcare powers faster medical imaging, smarter diagnostics, and patient monitoring.
Learn more
Computer vision in manufacturing

Computer vision in manufacturing

Optimize manufacturing with Ultralytics YOLO models. Vision AI drives quality control, defect detection, PPE compliance, and assembly line automation.
Learn more
Computer vision in automotive

Computer vision in automotive

Apply computer vision in automotive with Ultralytics YOLO models. Vision AI elevates road safety, driver assistance, and vehicle automation for smarter roads.
Learn more
Computer vision in agriculture

Computer vision in agriculture

Bring vision AI to smart agriculture with Ultralytics YOLO models. Power crop monitoring, livestock tracking, and precision farming for higher, smarter yields.
Learn more
Computer vision in sports

Computer vision in sports

Discover how Ultralytics YOLO powers sports vision with player and ball tracking, performance analytics, coaching insights, and athlete rehabilitation.
Learn more
Computer vision for aerial imagery

Computer vision for aerial imagery

Transform drone and aerial imagery into real-time insights for agriculture, aquaculture, environmental monitoring, conservation, and geospatial analysis with Ultralytics YOLO.
Learn more
Computer vision in aerospace

Computer vision in aerospace

Bring vision AI to aerial monitoring with Ultralytics YOLO models. Power drones, aerospace workflows, environmental conservation & geospatial industries with computer vision solutions.
Learn more
Computer vision in security

Computer vision in security

Protect every site with Ultralytics YOLO models. Vision AI powers perimeter monitoring, threat detection, license-plate recognition, and workplace safety.
Learn more
Computer vision in robotics

Computer vision in robotics

Power smarter machines with Ultralytics YOLO models. Vision AI in robotics drives autonomous navigation, perception, object tracking, and real-time control.
Learn more
Computer vision in logistics

Computer vision in logistics

Streamline logistics with Ultralytics YOLO models. Vision AI enables package inspection, sorting, vehicle tracking, and real-time warehouse safety monitoring.
Learn more
Computer vision in retail

Computer vision in retail

Reimagine retail with Ultralytics YOLO models. Vision AI powers inventory tracking, shelf monitoring, queue management, and smarter customer insights.
Learn more
Computer vision in healthcare

Computer vision in healthcare

Build healthcare solutions with Ultralytics YOLO models. Vision AI in healthcare powers faster medical imaging, smarter diagnostics, and patient monitoring.
Learn more
Computer vision in manufacturing

Computer vision in manufacturing

Optimize manufacturing with Ultralytics YOLO models. Vision AI drives quality control, defect detection, PPE compliance, and assembly line automation.
Learn more
Computer vision in automotive

Computer vision in automotive

Apply computer vision in automotive with Ultralytics YOLO models. Vision AI elevates road safety, driver assistance, and vehicle automation for smarter roads.
Learn more
Computer vision in agriculture

Computer vision in agriculture

Bring vision AI to smart agriculture with Ultralytics YOLO models. Power crop monitoring, livestock tracking, and precision farming for higher, smarter yields.
Learn more

Let's build the future of AI together!

Begin your journey with the future of machine learning