Skip to content

dukduk12/ElderEye_Backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

11 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

ElderEye Logo

πŸ‘οΈβ€πŸ—¨οΈ ElderEye: Family-Centered IoT Smart Care System

Real-time elderly monitoring platform combining live video streaming and anomaly detection
Providing peace of mind for families and caregivers β€” anytime, anywhere.

πŸ“Œ Overview

ElderEye is a modular smart care system designed to continuously monitor the safety and well-being of elderly family members.
It seamlessly integrates real-time video streaming, deep learning-powered behavior anomaly detection, and instant mobile alerts to act as a reliable "eye and ear" for families and caregivers.

Built on a Hybrid Microservice Architecture, ElderEye ensures scalability, modularity, and robust observability.
Each service can be deployed independently, with comprehensive system monitoring enabled via Prometheus and Grafana.


βš™οΈ System Architecture

System Architecture

This architecture diagram illustrates the interaction among the mobile frontend, backend microservices, gRPC-based machine learning inference server, and IoT devices deployed in the elderly’s environment.

πŸš€ Key Features

  • [1] Family-Centered Real-Time Video Streaming: Low-latency, multi-party video streaming using Mediasoup SFU to keep family members connected.
  • [2] Behavior Anomaly Detection: Integration with an external deep learning model via gRPC for intelligent anomaly recognition.
  • [3] Persistent Event Logging: Reliable CRUD operations and event storage powered by MySQL.
  • [4] Instant Mobile Alerts: Timely notifications to caregivers through a React Native mobile app.
  • [5] Modular Microservices: Independent deployment and scalability of backend services.
  • [6] Full Observability: System health and metrics tracking with Prometheus and Grafana.
  • [7] Data Privacy: Sensitive personal data securely encrypted at rest in the database using AES-256.
  • [8] Authentication: User authentication and authorization managed via JWT (JSON Web Tokens).
  • [9] Access Control: Principle of Least Privilege (POLP) enforced to restrict permissions to only what is necessary for each user and service.

πŸ› οΈ Technologies Used

  • Backend: FastAPI, Mediasoup, gRPC
  • Frontend: React Native
  • Database: MySQL
  • ML: PyTorch (pre-trained model integrated for inference; no training performed)
  • Monitoring: Prometheus, Grafana

πŸ“Έ Screenshots

App Home Screen Live Streaming Screen Alert Tab Screen Notification Detected Screen
ElderEye App Home Screen ElderEye Live Streaming Screen ElderEye Alert Tab Screen ElderEye Notification Detected Screen
Home Dashboard Real-Time Video Streaming Alert Tab View Detected Notification View

πŸ—‚οΈ Directory Structure

πŸ“ ElderEye/
β”œβ”€β”€ πŸ“ BE/                   # πŸ–₯️ Backend services
β”‚   β”œβ”€β”€ πŸ“ server1/          # 🧾 FastAPI – CRUD operations, event logging, alerts (MySQL)
β”‚   β”œβ”€β”€ πŸ“ server2/          # πŸ“‘ Node.js + Mediasoup SFU – real-time media streaming
β”‚   β”œβ”€β”€ πŸ“ server3/          # 🧠 gRPC service – deep learning inference integration
β”‚   β”œβ”€β”€ πŸ“„ docker-compose.dev.yml      # Development environment configuration
β”‚   β”œβ”€β”€ πŸ“„ docker-compose.prod.yml     # Production environment configuration
β”‚   β”œβ”€β”€ πŸ“„ init.sql                    # Database initialization & permission setup
β”‚   └── πŸ“ monitoring/                # πŸ“Š Prometheus / Grafana configuration
β”‚
β”œβ”€β”€ πŸ“ doc/                 # πŸ“š Documentation and assets
β”‚   └── πŸ“ images/           # πŸ–ΌοΈ Architecture diagrams, system flow, visuals
β”‚
└── πŸ“„ README.md             # Project overview and setup instructions

About

πŸ§‘β€βš•οΈ AI-powered IoT smart care platform with real-time streaming, anomaly detection, and caregiver alerting.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors