Hi HN!<p>I built AI Baby Monitor – a tiny stack (Redis + vLLM + Streamlit) that watches a video stream and a YAML list of safety rules.
If the model spots a rule being broken it plays beep sound, so you can quickly glance over and check on your baby.<p>Why?<p>When we bought a crib for our daughter, the first thing she tried was climbing over the rail :/
I got a bit paranoid about constantly watching her over, so I thought of a helper that can *actively* watch the baby, while parents could stay *semi-actively* alert.
It’s meant to be an additional set of eyes, and *not* a replacement for the adult. Thus, just a beep sound and not phone notifications.<p>How it works<p>* *stream_to_redis.py* captures video stream frames → Redis streams<p>* *run_watcher.py* pulls the latest N frames, injects them + the rules into a prompt and hits a local *vLLM* server running *Qwen 2.5 VL*<p>* Model returns structured JSON (`should_alert`, `reasoning`, `awareness_level`)<p>* If `should_alert=True` → `playsound` beep<p>* Streamlit page displays both camera and LLM logs