← All projects
PROJECT / 072025

Multimodal Emotion Engine

A real-time prototype combining scene captions, facial expressions, and LLM reasoning.

PythonBLIPViTLLM
Scene

BLIP captions a webcam frame to establish environmental context.

SELECT A STAGE TO FOLLOW THE SYSTEM

Overview

I built and published the prototype.

The problem

A facial expression alone rarely explains the full emotional context of a scene. The experiment combines face-level signals with a description of the surrounding image.

What I built

  • A webcam pipeline that captions frames with BLIP.
  • Face detection and ViT-based expression classification with a confidence value.
  • An LLM reasoning step that receives scene context and expression signals to choose a nuanced label.

System design

Each webcam frame is processed by a scene-captioning model and a face-expression model. Their outputs and the expression confidence are passed to a local LLM prompt, and the intermediate signals remain visible in the running interface.

Key decisions

  • Keep the component models separate so each intermediate output can be inspected.
  • Pass expression confidence into the reasoning prompt rather than hiding uncertainty.

Outcome

A working public prototype. It has not been formally benchmarked, so no accuracy claim is made.

What I learned

Multimodal systems are easier to understand when the caption, face prediction, and final inference remain visible as separate stages.

Links

Explore source on GitHub ↗

NEXT PROJECT →Spacecraft Telemetry Health ↗