-
DeepRespNet is a deep learning model specifically designed to analyze respiratory sounds and assess the respiratory health of patients.
-
By leveraging deep learning techniques, our model classifies respiratory sounds into categories such as healthy, chronic, and acute conditions.
-
The DeepRespNet web application offers an intuitive platform for both individuals and healthcare professionals to evaluate respiratory health through audio recordings.
-
Our primary goal is to facilitate the early detection of respiratory conditions, enabling timely and accurate medical intervention to improve patient outcomes.
- Python 3.10
- UV package manager (recommended) or pip
UV is a fast Python package manager that makes dependency management easier and more reliable.
-
Install UV (if not already installed):
# macOS using Homebrew (recommended) brew install uv # macOS/Linux using installer curl -LsSf https://astral.sh/uv/install.sh | sh # Windows powershell -c "irm https://astral.sh/uv/install.ps1 | iex" # Using pip pip install uv
-
Clone the repository:
git clone https://github.com/Mohammed-Khubaib/DeepRespNet.git
-
Navigate to the project directory:
cd DeepRespNet
-
Create virtual environment and install dependencies:
# Create virtual environment with Python 3.10 uv venv --python 3.10 # Activate virtual environment source .venv/bin/activate # On macOS/Linux # or .venv\Scripts\activate # On Windows # Install dependencies uv pip install -r requirements.txt
-
Run the application:
streamlit run app.py
or
uv run streamlit run app.py
For a more robust setup, you can use a pyproject.toml
file:
-
Follow steps 1-3 from Method 1
-
Create pyproject.toml in the project root with your project dependencies
-
Setup and run with UV:
# Install dependencies and create environment uv sync # Run the application uv run streamlit run app.py
If you prefer using pip:
-
Clone the repository:
git clone https://github.com/Mohammed-Khubaib/DeepRespNet.git
-
Navigate to the project directory:
cd DeepRespNet
-
Create virtual environment (recommended):
python3.10 -m venv venv source venv/bin/activate # On macOS/Linux # or venv\Scripts\activate # On Windows
-
Install the required dependencies:
pip install -r requirements.txt
The main application can be launched using app.py
. This file utilizes pieChart.py
and linechart.py
internally.
streamlit run app.py
The application will be available at http://localhost:8501
in your web browser.
The dataset used in this project is the Respiratory Sound Database available on Kaggle.
webapp.mov
.
├── README.MD
├── animations
│ ├── DeepRespNet Architecture.png
│ ├── Lungs.json
│ ├── SoundRecordingAnimation.json
│ ├── Stethoscope.json
│ └── dashboard animation.json
├── app.py
├── diagnosis_GRU_CNN_5.keras
├── linechart.py
├── model5accuracy.yaml
├── pieChart.py
├── requirements.txt
└── pyproject.toml # Optional: for UV-based setup
- Mohammed Khubaib
- Ashish Kumar Pandia
- Airla Snehith