Code Monkey home page Code Monkey logo

safe-fall's Introduction

Fall Detection System

Introduction

This project involves building a fall detection device using an Arduino MKR1010 and MPU6050 sensor, and a machine learning model built and trained on BigML analysis tool with the Sysfall dataset downloaded from Kaggle.

Architecture

Fall Detection System Architecture

The project consists of several services that work together to detect falls. The data flow is as follows:

  1. The fall detection device sends data to the Mosquitto MQTT broker.
  2. The MQTT-to-Kafka service listens to the Mosquitto broker, reads incoming MQTT data, and sends it to the Kafka broker.
  3. The Spark Streaming service listens to the Kafka broker, processes the incoming data in real-time, and detects falls using the machine learning model.
  4. When a fall is detected, the relevant data is sent to Firebase, and notifications are sent to the caregivers' or family members' phones.

Docker Compose Configuration

This project uses Docker Compose to create and manage the containers for the various services involved in the fall detection system.

Services

  1. Zookeeper: Zookeeper is used for coordination between Kafka brokers.

  2. Kafka: Kafka is a message broker that is used to manage incoming MQTT data and make it available to other services.

  3. Mosquitto: Mosquitto is an MQTT broker that is used to receive incoming data from the fall detection device.

  4. MQTT-to-Kafka: A Python script that listens to the Mosquitto broker, reads incoming MQTT data, and sends it to the Kafka broker for further processing.

  5. Spark Streaming: Spark Streaming is a real-time data processing framework that is used to analyze the incoming data and detect falls.

safe-fall's People

Contributors

abdoulbaguim avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.