Skip to content

TanishDevX/water-quality-checker

 
 

Repository files navigation

💧 Water Quality Checker

A Fuzzy Logic–based system to assess and classify water quality using key parameters such as pH, Dissolved Oxygen (DO), Biochemical Oxygen Demand (BOD), Nitrate, and Temperature.
The system provides an intuitive way to evaluate water quality without relying on exact thresholds, making it more adaptive to real-world variations.


🚀 Features

  • 📊 Input Parameters: pH, DO, BOD, Nitrate, Temperature
  • 🧠 Fuzzy Logic Engine: Uses membership functions to handle uncertainty and approximate reasoning
  • 📝 Water Quality Index (WQI): Generates an overall score
  • Classification: Labels water as Excellent, Good, Fair, Poor, or Very Poor
  • 🖥️ Streamlit UI: Interactive interface to input values and see results instantly

🛠️ Tech Stack

  • Python 3.x
  • NumPy – numerical operations
  • scikit-fuzzy – fuzzy logic computations
  • Streamlit – frontend for interactive web app

📂 Project Structure

image

⚡ Installation & Usage

  1. Clone the repository
    git clone https://github.com/your-username/water-quality-checker.git
    cd water-quality-checker
  2. Create virtual environment (optional but recommended)
    python -m venv venv
    source venv/bin/activate   # For Linux/Mac
    venv\Scripts\activate      # For Windows
  3. Install dependencies
    pip install -r requirements.txt
  4. Run the app
    streamlit run app.py
image image ## Screenshots

Web capture_23-8-2025_162516_localhost

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Jupyter Notebook 99.0%
  • Python 1.0%