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.
- 🔐 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
PulmoSense AI incorporates a two-phase deep learning pipeline:
- Binary CNN Model – Determines if the patient is Healthy or Diseased
- 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.
Layer | Technology |
---|---|
Frontend | Flutter (Dart) |
Backend | Firebase (Auth + Firestore) |
ML Models | Python (CNN, CNN-LSTM) |
API | Flask |
Hosting | Hugging Face Spaces |
main.dart
: Application entry pointfirebase_options.dart
: Firebase configuration
-
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
- Clone the repository
git clone https://github.com/yourusername/pulmosense-ai.git cd pulmosense-ai/lung_sound_system
- Install Flutter dependencies
flutter pub get
- Run the app
flutter run