Privacy-aware, AI-powered system for real-time detection of patient falls and wandering using video analytics.
Hospitals face staff shortages, and continuous patient monitoring is difficult. SafeCare AI uses real-time pose estimation to automatically detect falls, wandering, and risky movements, sending instant alerts to nurses — while protecting patient privacy through on-device processing and anonymized video.
- Real-time fall detection using pose estimation (MediaPipe)
- Bed-exit / wandering detection with virtual "bed zone"
- Anonymized video (blur + skeleton overlay)
- React dashboard with:
- Live video feed
- Alerts panel (fall / wandering)
- Popup notifications with room info
- Automatic alert popup + sound on new incident
- Frontend: React, JavaScript, CSS
- Backend: Python, FastAPI
- AI/ML: OpenCV, MediaPipe Pose
- Others: In-memory event store, JavaScript Audio API
backend/- FastAPI server, video processing, AI logicfrontend/- React dashboard (live view + alerts)
cd backend
python -m venv venv
venv\Scripts\activate # Windows
pip install -r requirements.txt
uvicorn app:app --reload --port 8000cd frontend
npm install
npm run dev