UnSlouch

Privacy-first webcam posture monitor running CPU-only ML inference with configurable dwell-time alerts and zero video storage.

Role
Computer Vision, ML Integration & Full-Stack Developer
Context
Computer Vision Project, Ergonomic Desk Health
Year
2026

Approach

  1. CPU-Only ML Posture Pipeline

    Combined MediaPipe Pose landmark extraction with a trained scikit-learn classifier served via FastAPI threadpools for low-latency CPU inference.

  2. Anti-False-Alarm Dwell & Privacy Engine

    Evaluated sustained slouch duration across user-defined 5–10s windows with 5 alert tones, discarding raw frames immediately and storing only text session metrics in SQLite.

  3. Multi-View Ergonomic Frontend

    Built React 19, Vite, and Recharts views for Live Monitoring, cross-tab Picture-in-Picture overlays, optional 15–60 min stretch reminders, and 7-day trend history.

Key insight

Adding a configurable 5–10 second dwell threshold turns a noisy frame-by-frame posture classifier into a calm ergonomic tool people actually keep running all day.

Zero Video

Privacy Model

Webcam frames are evaluated in memory and discarded; only timestamp, duration, and probability are stored.

CPU Only

Hardware Target

Runs reliably on standard laptops without dedicated GPU hardware.

5–10s Dwell

Alert Tuning

Configurable tolerance window with 5 tones, PiP pop-out, and 7-day Recharts history.

Stack

  • React
  • Vite
  • Python
  • FastAPI
  • MediaPipe
  • OpenCV
  • scikit-learn
  • SQLite
  • Recharts