{"by":"zeenolife","descendants":83,"id":44051386,"kids":[44088654,44087610,44088029,44093471,44092060,44087654,44088327,44094633,44087857,44098410,44092275,44094026,44051974,44051731,44088314,44092578,44092779,44051500,44051574,44088014,44088429,44088036,44088502,44055928,44087873],"score":94,"text":"Hi HN! I built AI Baby Monitor – a tiny stack (Redis + vLLM + Streamlit) that watches a video stream and a YAML list of safety rules.  \nIf 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 :&#x2F;\nI 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.\nIt’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","time":1747835028,"title":"Show HN: AI Baby Monitor – local Video-LLM that beeps when safety rules break","type":"story","url":"https://github.com/zeenolife/ai-baby-monitor"}