Skip to content

BhanukaJanappriya/turbidity_meter_GUI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 

Repository files navigation

💧 Image-Based Water Turbidity Analysis System

Python OpenCV Tkinter License


📸 Sample GUI & Output

User Interface

GUI Sample

Analysis Results

Feature Visualization
Original Sample Original Sample
Red Channel Histogram Red Histogram
Edge Analysis Edge Analysis

🧠 Core Features

  • Intuitive GUI: Built with Tkinter for easy image uploading and real-time feedback.
  • Automated Preprocessing: Includes watermark removal, noise reduction (Median Filter), and smoothing (Gaussian Blur).
  • Advanced Metrics:
    • Average Intensity & Variance
    • Turbidity Index
    • Edge Density (Canny)
    • Particle Count & Density
    • Particle Uniformity
  • Visual Analytics: Generates red channel histograms and edge maps.
  • Professional Reporting: Automatically exports results into a detailed PDF report with color-coded NTU severity bars.

🔧 Installation & Setup

1. Prerequisites

Ensure you have Python 3.8+ installed.

2. Install Dependencies

pip install opencv-python numpy matplotlib reportlab scikit-image scipy

3. Run the Application

python turbidity_gui.py

🛠️ Technologies Used

  • OpenCV: Core image processing and feature extraction.
  • Tkinter: Graphical User Interface.
  • Matplotlib: Data visualization and histogram plotting.
  • ReportLab: PDF report generation.
  • NumPy/SciPy/Scikit-Image: Numerical computing and advanced image analysis.

About

A Python-based computer vision system that estimates water turbidity (NTU) from digital images. It combines red channel modeling, edge detection, and particle analysis to provide a cost-effective alternative to hardware turbidimeters, complete with a Tkinter GUI and automated PDF reporting.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages