Skip to content

HChandeepa/Lung_Sound_Classification_Mobile_App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PulmoSense AI - Mobile App

PulmoSense AI is a mobile-based deep learning application for lung sound classification, aimed at assisting healthcare professionals in diagnosing respiratory conditions efficiently and accurately. The app leverages deep learning and Flutter technologies to offer a modern, intelligent, and user-friendly diagnostic tool.


🚀 Features

  • 🔐 Secure login/signup with Firebase Authentication
  • 🧑‍⚕️ Add and manage patient profiles
  • 🎧 Upload and analyze auscultation recordings
  • 🧠 AI-based classification: Healthy or Diseased
  • 📋 Detailed patient history logs
  • 🩺 Diagnosis results with condition-specific breakdowns
  • 🌐 Firebase integration for real-time sync and storage

🧠 AI Model Integration

PulmoSense AI incorporates a two-phase deep learning pipeline:

  1. Binary CNN Model – Determines if the patient is Healthy or Diseased
  2. Ensemble Classifier (CNN / CNN-LSTM) – If diseased, identifies the condition (e.g., Asthma, Pneumonia, COPD)

The AI inference runs via a Flask API deployed on Hugging Face Spaces, which the mobile app communicates with using HTTP requests.


📱 Tech Stack

Layer Technology
Frontend Flutter (Dart)
Backend Firebase (Auth + Firestore)
ML Models Python (CNN, CNN-LSTM)
API Flask
Hosting Hugging Face Spaces

📂 Key Files

  • main.dart: Application entry point
  • firebase_options.dart: Firebase configuration

Screens

  • Authentication:

    • login.dart
    • signup.dart
    • forgot_password.dart
  • Patient Management:

    • add_patient.dart
    • select_patient.dart
    • patient_details_page.dart
  • Features:

    • new_patients_auscultation.dart
    • Healthy diagnosis page.dart
  • App Flow:

    • splash.dart
    • dashboard.dart
    • profile_page.dart
  • History:

    • history_page.dart
    • history_page copy.dart

🧪 How to Use

  1. Clone the repository
    git clone https://github.com/yourusername/pulmosense-ai.git
    cd pulmosense-ai/lung_sound_system
    
  2. Install Flutter dependencies
    flutter pub get
    
  3. Run the app
    flutter run