Back

What I built

  • The 3D patient (Unreal Engine 5, C++)
  • Lip sync and facial emotion driven by the incoming voice
  • Pain, breathing and visible signs of illness
  • Idle movement
  • Choosing the MetaHuman that fits the case
  • The connection to the voice server

Medical students learn to take a patient’s history by interviewing actors who play patients. Actors are expensive and hard to book, so most students practice only a few times. Anamios gives every student a patient to talk to.

How it responds to the student

  • Talk, don’t type. The student speaks into the microphone and the patient answers out loud. If the student talks over the patient, the patient stops.
  • Trust. The patient engine judges every question (open, kind, rushed?) and only shares the embarrassing part of the story once trust is high enough. In our test runs, kind students got there after about nine questions, and rude or rushed ones never did.
  • The face. Every answer comes with an emotion and a strength. The face blends into it while the patient speaks, then relaxes. I built each emotion from facial action units (brows, eyes, cheeks, mouth corners) layered on top of the lip sync, which keeps control of the lips and jaw. The pain face uses the action units from the Prkachin and Solomon Pain Intensity scale, and from pain level 3 the patient winces now and then, sometimes mid-sentence.
  • Never frozen. The patient blinks, glances aside, nods while listening, looks up while thinking and looks away when a topic is uncomfortable. Older patients move less and more slowly.

Showing what the system thinks

The face is the patient engine’s hidden state made visible: the student can see the patient getting nervous or upset before anything is said. The teacher’s case choices show on the body too. Skin can turn pale, sweaty, yellow or bluish, eyes can go red or fill with tears, and breathing rate and depth show in the shoulders. After the interview the student gets a score and a checklist of what they found and missed.

How we built it

Command-line switches let us test the patient without the rest of the system: play a WAV file and log the delay from Speak() to the first jaw movement, step through moods, log the face values once a second, or take a screenshot of every expression and quit. That last one produced the comparison gallery in the repository. The patient never receives the diagnosis or the secrets, only what it needs to look right.

Up nextCode InspectorGameplay · Serious GamesAn educational first-person game on a lunar outpost: learn Unity physics by writing real C# that compiles at runtime inside the game.

Trophies

Settings

Preferences

System information

Display
Frame rate
–
Built with
Astro, TypeScript, View Transitions, Web Audio