IHS
Intelligent Home Surveillance
View on GitHubIHS (Intelligent Home Surveillance) is an end-to-end home-safety platform that combines deep-learning video analytics with a Flutter mobile companion app and a desktop control panel. It continuously monitors camera feeds to protect elderly individuals and children, detecting falls, recognizing hazards, watching for child-hazard proximity, and offering AI-powered first-aid guidance.
System architecture
Hover a component to see what it does.
YOLOv8-Pose · TCN · Hazard YOLO · Heuristic FSM. Hosts DeviceMonitorManager, the RAG service, the Groq LLM, and the FCM sender.
Fall-detection pipeline
A hybrid of a learned temporal model and rule-based biomechanics, built for robustness, not just accuracy on a benchmark.
- 01Pose Estimation
YOLOv8s-Pose extracts 17 COCO keypoints per person.
- 02Feature Engineering
Hip-centred normalisation, joint angles, velocities, trunk tilt → a 61-dim feature vector.
- 03TCN Classifier
3-layer residual TCN over 30-frame sliding windows, run every 10 frames.
- 04Heuristic FSM
Rule-based state machine on trunk angle, hip height, CoG velocity, and inversion detection.
- 05Score Blend
70% TCN + 30% heuristic, with gating for confirmed falls.
- 06Sticky Lock
Hysteresis prevents rapid state oscillation between fall / no-fall.
Capabilities
Hybrid TCN + heuristic classifier blending temporal pose sequences with rule-based biomechanics.
Timer-based alarm when a person stays on the floor beyond a configurable threshold.
YOLOv8 (INT8 OpenVINO) detector for knives, fire, stairs, ovens, and stoves.
Skeleton-ratio age classification with proximity alerts when children approach hazards.
Server-side DeviceMonitorManager processes RTSP/HTTP streams independently of client connections.
RAG Q&A over official first-aid manuals using FAISS + BM25 hybrid retrieval with a Groq LLM.
LLM-generated caregiver summaries from aggregated detection history.
Firebase Cloud Messaging alerts delivered even when the app is closed.
Tech stack
Thanks for reading. Want to see the rest?
Back to all work