ahleung

PostureGuard

PostureGuard is a 100% offline, MIT-licensed Windows posture reminder that watches your webcam for head-down or head-tilt angles and nudges you with a translucent overlay card.

v0.3.12
Published at
18d ago
4
Stars
34
Download
Synced at
13d ago

Latest release

v0.3.12Nov 9, 2026, 02:47 AM
Downloads slow? Switch the source anytime above

README

Project Overview

PostureGuard never touches the internet. It uses MediaPipe Pose Landmarker on the local webcam to compute 33 body keypoints at 15fps. When head-down angle ≥90° or head-tilt ≥25° persists for 60 seconds, a translucent card pops up in the center of the screen — auto-dismisses in 10 seconds, or press Space to close it. Camera frames are never written to disk and never leave the machine.

Item Value
Platform Windows 10 / 11, 64-bit
Language JavaScript (Electron + ML Kit for Web)
Engine MediaPipe Pose Landmarker
Trigger head-down ≥90° OR tilt ≥25° for ≥60s (adjustable)
Alert centered translucent card, 10s timeout, Space to dismiss
License MIT

Watch you slump with your webcam and nudge you back up in 10 seconds — no cloud, no disk writes.

Key Features

  • Live pose recognition: 33 MediaPipe Pose keypoints at 15fps from the webcam
  • Dual-threshold trigger: either head-down ≥90° or head-tilt ≥25° held for 60 seconds; both angles and duration configurable
  • Translucent alert card: centered on screen, auto-dismisses in 10s, Space key closes immediately
  • Tray control: right-click to toggle alerts, snooze 30 minutes, or quit
  • Fully offline: no webcam frames written, no network calls, no logs
  • Adjustable: head-down angle, tilt angle, hold duration before alert, card stay-on time

Interface and Operation

  • Settings panel: tune the three thresholds and card duration
  • Tray icon: right-click to toggle, snooze, or exit
  • Alert card: centered translucent box, Space to close

Target Audience

  • Developers hunched over code all day
  • Copywriters and designers with sore necks
  • Students who keep staring down at their notes
  • Anyone wanting a free webcam alternative to a posture strap

Quick Start

  1. Grab the latest .exe installer from Releases
  2. Grant webcam permission on first launch
  3. Defaults: head-down ≥90° or tilt ≥25° for 60 seconds; card stays 10s
  4. Tray right-click lets you pause, change settings, or quit
  5. To build: npm install && npm start; electron-builder to package

Core Advantages

  • 100% offline: webcam frames stay local, no disk writes, no network
  • Two-angle guard: either angle over threshold held long enough before firing — fewer false alerts
  • Runs out of the box: defaults are already usable, no setup wizard

System Requirements

Item Requirement
OS Windows 10 / 11, 64-bit
RAM ≥ 2 GB
Camera any USB or built-in webcam
Network not required

Notes

  • Face the camera squarely: more than 30° off-axis biases the tilt estimate
  • Lighting matters: all-black or over-exposed frames drop keypoint accuracy
  • Windows only: tested on Win10/11; other platforms require building yourself

Release history

Sort