> Source: https://amayakavya.com/projects/reflex

# Reflex

Emergency Guidance
Open Source

Reflex talks somebody through giving CPR when there is no clinician present. It is three builds against one problem rather than one product: a desktop assistant that watches the responder through a webcam and a sensor rig, a phone app that reads compressions from the handset's own accelerometer, and a fork of that phone app widened from CPR out to triaged first aid. They share the guideline base and the emergency numbers. They share no code.

Reading compression rate and depth from a phone lying on a chest is the interesting part, and it is honest about its limits. Rate comes out of the accelerometer cleanly and was tested against synthetic signals of known amplitude. Depth is harder, and recoil in particular is not something a handset can measure well, so the app says so rather than reporting a number it cannot stand behind.

The guidance itself is deterministic. It encodes published resuscitation guidelines and follows them step by step, and where a guideline does not clearly support an instruction the app flags that rather than filling the gap. Language models are confined to free text and the debrief afterwards, and every token is filtered before it reaches somebody who is kneeling over a casualty.

Everything runs on the device. Emergency audio and video never leave the handset, and the pose model ships inside the app rather than being fetched from a network that may not be there. It is not a clinically validated medical device and nothing in it should stand in for calling emergency services.

## Source

- [github.com/amayakavya/reflex](https://github.com/amayakavya/reflex)

[← Back to Projects](/projects)
