
Rule-based posture gate: consumes Landmarks2d.Human22 keypoints plus the frame width and height and emits Bool true when the geometric score for the chosen posture clears a threshold. No ML model — a CPU-only deterministic gate over a pose estimator.
Fall / lying alert: a pose estimator feeds keypoints, the posture gate flags the target pose, a filter drops the false ticks, and surviving alerts are emitted as JSON.
Sit-stand monitor: a YOLO pose backend supplies keypoints and the gate reports whether the subject is in the configured posture each tick.
target_posture aborts startup.visibility_threshold is treated as not visible, and any posture whose score needs a missing keypoint collapses to zero and emits false.score_threshold must be tuned per deployment; the heuristics also assume a roughly upright camera and produce nonsense at side or rotated angles.Automated release