Guido Biosca

Fall Detection System

Developed during my internship as a Data Scientist Intern at Airfi.

Project Context

This project was undertaken as part of my internship at Airfi, a technology-focused company working closely with hospitals, nursing homes, and other healthcare providers. The main goal was to develop a reliable and efficient fall detection system to enhance safety for elderly individuals. The system was designed to work in real-time using wearable devices equipped with accelerometers and gyroscopes.

Airfi specializes in creating innovative solutions that integrate seamlessly into existing healthcare infrastructures. This project was part of a larger initiative to leverage IoT devices to provide continuous monitoring for patients in residential care facilities. The system aimed not only to detect falls but also to collect valuable data that could be used to prevent future incidents by analyzing patterns of movement and activity.

Challenges

Tools and Technologies

A wide range of tools and technologies were employed to address these challenges:

Custom PyQt5 Application

As part of the project, I developed a PyQt5-based desktop application to simplify the process of data collection and labeling. This tool became an essential component in managing the vast amount of data generated during testing and real-world deployment. The application provided the following features:

This tool played a pivotal role in accelerating the data preparation phase of the project, enabling the team to focus more on model development and testing. It also demonstrated the importance of creating auxiliary tools to support core machine learning tasks.

Custom PyQt5 Application

Infrastructure and Workflow

The system was built on a robust infrastructure designed to handle real-time data flow. The workflow was structured as follows:

  1. Wearable devices continuously collected acceleration and gyroscope data, providing a detailed view of movements in three dimensions.
  2. Data was transmitted via MQTT to local routers, ensuring minimal latency. The routers acted as intermediaries, buffering data in case of network interruptions.
  3. Routers forwarded the data to a central server for processing and storage. The server was equipped with redundant systems to ensure reliability and data integrity.
  4. Machine learning models processed incoming data to detect potential falls. The models were optimized to run in real-time, making predictions within milliseconds of receiving data.
  5. Alerts were generated in real-time for caregivers or healthcare staff. Alerts included details like the time of the fall, device ID, and location, enabling prompt response.

Additionally, the system incorporated data visualization dashboards, providing insights into patient activity levels, fall risk assessments, and overall system performance. These dashboards were instrumental in engaging stakeholders and demonstrating the system's impact.

Testing and Validation

Rigorous testing was conducted to validate the system's accuracy and robustness. This included:

Testing Setup with Dummy

Conclusion and Impact

The Fall Detection System represents a significant step forward in leveraging technology to improve healthcare. The project provided invaluable insights into real-world machine learning applications and reinforced the importance of interdisciplinary collaboration. By combining advanced IoT infrastructure, robust machine learning models, and practical user interfaces, the system not only enhanced safety for elderly individuals but also paved the way for further innovation in healthcare monitoring.

Beyond technical achievements, the project underscored the importance of empathy in technology development. Each aspect of the system was designed with the end-user in mind, ensuring ease of use for caregivers and reliability for patients. This experience has inspired me to continue exploring ways to bridge the gap between technology and societal needs.