Skip to content

samwel-soliman/Gait-Guard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gait Guard Banner

🩺 Gait Guard

AI-Powered Wearable System for Early Prediction of Freezing of Gait (FoG) in Parkinson's Disease

Python TensorFlow Scikit-learn Flutter ESP32-S3 Machine Learning Deep Learning Healthcare AI MTC


🏆 Project Highlights

  • 🧠 AI-Powered Healthcare System
  • 🦿 Wearable IoT Prototype
  • 📱 Flutter Mobile Application
  • 🤖 Machine Learning & Deep Learning
  • 📊 90.73% Classification Accuracy
  • 🎯 Early Prediction of Freezing of Gait (FoG)
  • 📑 Research Poster Successfully Presented & Defended
  • 🏛️ Military Technical College (MTC)
  • 🎓 Bachelor Graduation Project (2025/2026)

📑 Table of Contents

  • Overview
  • Key Milestones
  • Project Objectives
  • Key Features
  • Problem Statement
  • Solution
  • System Architecture
  • Hardware Prototype
  • AI Pipeline
  • Machine Learning Models
  • Deep Learning Model
  • Mobile Application
  • Datasets
  • Results
  • Documentation
  • Gallery
  • Demonstration
  • Future Work
  • Team
  • License

🎖 Key Milestones

🏛 Military Technical College (MTC)

The research poster was officially accepted, presented, and successfully defended during the graduation poster evaluation session at the Military Technical College (MTC), Egypt.

🎓 Arab Academy for Science, Technology and Maritime Transport (AASTMT)

Developed as a Bachelor Graduation Project (2025/2026) within the College of Computing and Information Technology.


📌 Overview

Gait Guard is an intelligent AI-powered wearable healthcare system developed to predict Freezing of Gait (FoG) episodes before they occur in patients with Parkinson's Disease.

The project integrates Artificial Intelligence, Wearable IoT Hardware, Embedded Systems, Motion Analysis, and a Flutter Mobile Application into one unified healthcare platform capable of continuously monitoring patient gait and providing early warning alerts.

Unlike conventional systems that detect FoG after it occurs, Gait Guard focuses on early prediction, allowing patients to react before the freezing episode begins, helping reduce falls and improve mobility.


🎯 Project Objectives

  • Early prediction of Freezing of Gait (FoG)
  • Reduce fall risk for Parkinson's patients
  • Continuous gait monitoring
  • Real-time wearable sensing
  • AI-assisted decision making
  • Mobile healthcare monitoring
  • Affordable wearable solution
  • Improve patient quality of life

✨ Key Features

  • ✅ Early FoG Prediction
  • ✅ Wearable Ankle Device
  • ✅ CNN + BiLSTM + Attention Network
  • ✅ Machine Learning Baseline Models
  • ✅ Flutter Mobile Application
  • ✅ ESP32-S3 Embedded Platform
  • ✅ MPU6050 Motion Sensor
  • ✅ Real-Time Monitoring
  • ✅ Intelligent Alert System
  • ✅ Healthcare AI
  • ✅ Embedded IoT Solution
  • ✅ Motion Signal Processing
  • ✅ Research-Based Development
  • ✅ Mobile Visualization
  • ✅ Patient Safety Enhancement

🛠 Technology Stack

Category Technologies
Programming Python
Machine Learning Scikit-learn
Deep Learning TensorFlow, CNN, BiLSTM, Attention
Mobile Development Flutter
Hardware ESP32-S3, MPU6050
Design Figma
Documentation PDF, Research Paper, Poster

❓ Problem Statement

Parkinson's Disease affects millions of people worldwide and is often accompanied by Freezing of Gait (FoG), one of its most disabling motor symptoms.

During a FoG episode, patients suddenly lose the ability to continue walking despite intending to move, significantly increasing the likelihood of falls and severe injuries.

Existing monitoring systems primarily detect FoG after the event has already started, limiting their effectiveness in preventing accidents.

Our objective was to design an intelligent wearable solution capable of predicting FoG before it occurs, enabling timely alerts and improving patient safety.


💡 Proposed Solution

Gait Guard combines multiple technologies into a single intelligent healthcare platform.

The system includes:

  • Wearable ankle-mounted sensing device
  • IMU motion data acquisition
  • Machine Learning prediction
  • Deep Learning prediction
  • Mobile application
  • Intelligent alert generation
  • Continuous gait monitoring

The wearable prototype continuously captures motion data, processes gait information using AI models, and communicates predictions to the mobile application for real-time visualization and patient notification.


🏗 System Architecture

Gait Guard follows a complete end-to-end intelligent healthcare pipeline that combines wearable sensing, Artificial Intelligence, and mobile technologies.

Workflow

  1. Motion data acquisition using the wearable IMU sensor.
  2. Signal preprocessing and filtering.
  3. Window segmentation.
  4. Feature extraction.
  5. Machine Learning prediction.
  6. Deep Learning prediction.
  7. Decision generation.
  8. Mobile application visualization.
  9. Alert notification to the patient.

🔧 Hardware Prototype

The wearable prototype was designed to be comfortably mounted around the patient's ankle.

Hardware Components

Component Purpose
ESP32-S3 Main Microcontroller
MPU6050 Motion Sensor (Accelerometer & Gyroscope)
LiPo Battery Portable Power Supply
Buzzer Audible Warning
Vibration Motor Silent Alert
3D Printed Enclosure Wearable Housing

Hardware Features

  • Lightweight wearable design
  • Low power consumption
  • Real-time motion acquisition
  • Wireless communication
  • Comfortable ankle mounting

🧠 Artificial Intelligence Pipeline

The AI pipeline consists of several stages:

1️⃣ Data Acquisition

IMU signals are continuously collected from the wearable sensor.

2️⃣ Signal Preprocessing

  • Noise removal
  • Signal normalization
  • Data cleaning

3️⃣ Window Segmentation

The continuous gait signals are divided into fixed windows suitable for prediction.

4️⃣ Feature Engineering

Statistical and temporal gait features are extracted for Machine Learning models.

5️⃣ Machine Learning Prediction

Traditional ML algorithms analyze gait characteristics.

6️⃣ Deep Learning Prediction

The neural network automatically learns temporal gait patterns.

7️⃣ Decision Layer

The prediction result is transmitted to the mobile application.


🤖 Machine Learning Models

The following baseline models were implemented and evaluated:

  • Random Forest
  • Support Vector Machine (SVM)
  • Logistic Regression
  • Decision Tree

These models provide strong baselines for comparison against the deep learning architecture.


🧠 Deep Learning Architecture

Our deep learning model combines multiple neural network layers to capture both spatial and temporal gait characteristics.

Architecture

  • CNN
  • BiLSTM
  • Attention Mechanism

Why this architecture?

CNN extracts spatial features from IMU signals.

BiLSTM learns long-term temporal dependencies.

Attention focuses on the most informative gait segments before prediction.


📱 Mobile Application

The Flutter mobile application acts as the user interface of the entire healthcare system.

Main Features

  • Patient Monitoring
  • Sensor Connection
  • Real-Time Prediction
  • Alert Notifications
  • Prediction Visualization
  • User-Friendly Interface
  • Healthcare Dashboard

The application receives prediction results and provides visual feedback for continuous patient monitoring.


📊 Datasets

The project utilizes publicly available Parkinson's Disease gait datasets.

Primary Dataset

  • Daphnet Freezing of Gait Dataset

Additional Dataset

  • Figshare IMU Dataset

These datasets contain synchronized inertial sensor recordings collected from Parkinson's Disease patients during walking experiments.


📈 Experimental Results

Performance Metrics

Metric Value
Accuracy 90.73%
Weighted F1-Score 90.53%

The proposed system achieved promising performance for early FoG prediction while maintaining balanced classification capability.


📉 Confusion Matrix

The confusion matrix demonstrates strong classification performance across the evaluated classes.


📚 Documentation

The repository includes complete academic documentation.

Available Files

  • 📄 Documentation.pdf
  • 📑 Research Paper.pdf
  • 🖼 Poster.pdf

These documents provide detailed explanations of the methodology, implementation, experiments, and evaluation process.


🖼 Project Gallery

Research Poster


Graduation Discussion


Military Technical College (MTC)

The research poster was officially presented and defended during the Military Technical College graduation poster evaluation.


Team


🎥 Demonstration

This repository includes demonstration videos illustrating the complete system.

Mobile Application Demo

System Demonstration


🔒 Repository Notice

This repository is intended to showcase the project's architecture, methodology, wearable hardware prototype, research documentation, and achieved results.

Certain implementation details, source code, trained model weights, and proprietary assets are not publicly available due to academic research policies and intellectual property considerations.


🚀 Future Improvements

Future versions of Gait Guard may include:

  • Cloud Synchronization
  • BLE Communication
  • TinyML Deployment
  • Edge AI Inference
  • Model Compression
  • Clinical Validation
  • Smartwatch Integration
  • Remote Patient Monitoring
  • Continuous Health Analytics

👨‍💻 Team

  • George Reda Lotfy
  • Abanoub Magdy Rizk
  • Flora Osama Shokry
  • Joy Joseph Kamel
  • Enjy Boushra Tawfik
  • Kholoud Ashraf Ebrahem
  • Samuel Remon Gerges

👩‍🏫 Supervision

Prof. Nashwa Mahmoud Mohamed El-Bendary


🎓 Academic Information

Institution

Arab Academy for Science, Technology and Maritime Transport (AASTMT)

Faculty

College of Computing and Information Technology

Campus

South Valley Campus

Project

Bachelor Graduation Project

Academic Year

2025/2026


🌟 Project Highlights

  • AI-Powered Healthcare System
  • Wearable IoT Device
  • Embedded AI Solution
  • Flutter Mobile Application
  • ESP32-S3 Wearable Prototype
  • CNN + BiLSTM + Attention Network
  • 90.73% Classification Accuracy
  • Research Poster Successfully Presented & Defended
  • Military Technical College (MTC)
  • Graduation Project (AASTMT)

⭐ Acknowledgments

We sincerely express our gratitude to our supervisor, Prof. Nashwa Mahmoud Mohamed El-Bendary, for her continuous guidance and support throughout the development of this project.

We also thank the faculty members of the Arab Academy for Science, Technology and Maritime Transport and the evaluators at the Military Technical College for their valuable feedback during the graduation project assessment.

Finally, we appreciate every team member whose dedication and collaboration contributed to the successful completion of Gait Guard.


📄 License

This repository is released for educational and portfolio purposes.

© 2026 Gait Guard Team. All Rights Reserved.


⭐ If you found this project interesting, consider giving it a Star!

Made with ❤️ by the Gait Guard Team

About

AI-powered wearable healthcare system for early prediction of Freezing of Gait (FoG) in Parkinson's Disease using Machine Learning, Deep Learning, IoT, and Flutter.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors