Back to the journeyPlain résumé

Case study 01, Xitst

With a camera alone,a pipeline that reads psychological state

Extracting biosignals with no contact equipment. The process of spotting that lab performance did not carry over to real usage conditions, and retraining for them.

5

Types of biosignal measured from a camera alone

heart rate, HRV, oxygen saturation, body temperature, respiration

Context

Traditional psychological-state measurement required contact equipment — electrodes, sensors — which meant a hospital visit was unavoidable. Xitst set out to analyze psychological state remotely and deliver personalized therapy, and the core technical question was: can a camera alone extract a biosignal reliable enough to trust?

As CTO, my role was to design the product roadmap while validating the feasibility of rPPG (Remote Photoplethysmography) technology and taking it into production.

Process

  1. 01

    Signal-processing pipeline design

    Implemented an rPPG algorithm that detects subtle blood-flow changes from facial video. Built a signal-processing pipeline in stages to filter noise from lighting and movement.

  2. 02

    TCI psychological-model integration

    Built a data-integration system that combines the raw biosignal with the TCI (Temperament and Character Inventory) model to convert it into an emotional state.

  3. 03

    Cloud architecture

    Adopted an AWS Lambda + API Gateway serverless structure for real-time processing. Optimized frontend response time with Next.js SSR.

  4. 04

    Retraining for real conditions

    Spotted that lab benchmarks overstated performance on real, compressed camera video, and retrained for real conditions to cut the error. Published before and after numbers side by side so the headline figure could not pass as field results.

Options I rejected

  • Contact PPG sensor measurement

    Contact measurement can be more accurate. But the moment electrodes and sensors are required, the product's premise — psychological measurement without a hospital visit — falls apart. We chose to give up some accuracy in exchange for the accessibility of measuring with a camera alone.

  • An always-on server

    At an early stage, traffic isn't steady, but an always-on server has fixed cost. We used AWS Lambda + API Gateway serverless so concurrent-user cost scales with actual usage.

Result

  • Productized measuring five signals from a camera alone: heart rate, HRV, oxygen saturation, body temperature and respiration. Took it from web to desktop, mobile (iOS, Android) and a Figma plugin
  • Published before and after numbers side by side so the headline figure could not pass as field results
  • Shipped a therapeutic chat service integrating real-time biosignal data with a psychological profile
  • Cut concurrent-user processing cost with scalable serverless infrastructure

What I learned

  1. Making a technical roadmap real

    Taking a research-grade algorithm into production requires clearly defining the trade-off between accuracy and real-time performance.

  2. Validation bar in a medical domain

    When clinical application is the goal, user-testing standards differ from a typical app. Subject protocols and IRB-related processes need to be designed in advance.

  3. Data pipeline before model

    In an AI-driven product, the data collection and cleaning pipeline comes before the model. Setting a high data-quality bar early speeds up every iteration after.