Effortless alkalinity analysis using AI and smartphone technology, no equipment needed, from freshwater to saltwater

Alkalinity is a crucial water quality parameter with significant environmental and engineered system applications. Various analysis methods exist, from traditional titrations to advanced spectrophotometric and electrochemical techniques, each with specific benefits and limitations. Developing simple...

Full description

Saved in:
Bibliographic Details
Main Authors: Zachary Y. Han, Zihan Zheng, Alan Y. Han, Huichun Zhang
Format: Article
Language:English
Published: Elsevier 2025-03-01
Series:Eco-Environment & Health
Subjects:
Online Access:http://www.sciencedirect.com/science/article/pii/S2772985024000632
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1832576396045582336
author Zachary Y. Han
Zihan Zheng
Alan Y. Han
Huichun Zhang
author_facet Zachary Y. Han
Zihan Zheng
Alan Y. Han
Huichun Zhang
author_sort Zachary Y. Han
collection DOAJ
description Alkalinity is a crucial water quality parameter with significant environmental and engineered system applications. Various analysis methods exist, from traditional titrations to advanced spectrophotometric and electrochemical techniques, each with specific benefits and limitations. Developing simple, affordable techniques for alkalinity analysis is essential to facilitate extensive and reliable water quality monitoring, empowering citizen scientists, and overcoming financial barriers in traditional monitoring programs. In this work, we developed an equipment-free, user-friendly alkalinity analysis approach accessible to a broad demographic. Specifically, we employed low-cost commercial reagents to generate color changes in response to alkalinity levels in various freshwater and saltwater samples. These images were captured with a smartphone and processed using machine learning models to correlate color intensity with alkalinity levels. After examining the effects of container type, lighting condition, ML algorithms, and sample size, we obtained the best models with R2 values of 0.868 ± 0.024 and 0.978 ± 0.008, and root-mean-square-error values of 29.5 ± 2.6 and 14.1 ± 2.0 for freshwater and saltwater, respectively. Five inexperienced users utilized this method for alkalinity analysis and achieved comparable results in performance. Additionally, we developed a user-friendly website where users, without prior experience, can upload images to obtain alkalinity readings for their water samples. This AI-powered, equipment-free technology represents a significant milestone in water quality monitoring, deviating from the trend of developing increasingly advanced analytical techniques and serving as a foundation for developing similar methods across various water quality parameters and broader analytical applications.
format Article
id doaj-art-32a1ced87ebd4cca98e5ef53a8a4a0d2
institution Kabale University
issn 2772-9850
language English
publishDate 2025-03-01
publisher Elsevier
record_format Article
series Eco-Environment & Health
spelling doaj-art-32a1ced87ebd4cca98e5ef53a8a4a0d22025-01-31T05:12:48ZengElsevierEco-Environment & Health2772-98502025-03-0141100125Effortless alkalinity analysis using AI and smartphone technology, no equipment needed, from freshwater to saltwaterZachary Y. Han0Zihan Zheng1Alan Y. Han2Huichun Zhang3Department of Civil and Environmental Engineering, Case Western Reserve University, Cleveland, OH 44106, USADepartment of Civil and Environmental Engineering, Case Western Reserve University, Cleveland, OH 44106, USADepartment of Computer Science, Cornell University, Ithaca, NY 14850, USADepartment of Civil and Environmental Engineering, Case Western Reserve University, Cleveland, OH 44106, USA; Corresponding author.Alkalinity is a crucial water quality parameter with significant environmental and engineered system applications. Various analysis methods exist, from traditional titrations to advanced spectrophotometric and electrochemical techniques, each with specific benefits and limitations. Developing simple, affordable techniques for alkalinity analysis is essential to facilitate extensive and reliable water quality monitoring, empowering citizen scientists, and overcoming financial barriers in traditional monitoring programs. In this work, we developed an equipment-free, user-friendly alkalinity analysis approach accessible to a broad demographic. Specifically, we employed low-cost commercial reagents to generate color changes in response to alkalinity levels in various freshwater and saltwater samples. These images were captured with a smartphone and processed using machine learning models to correlate color intensity with alkalinity levels. After examining the effects of container type, lighting condition, ML algorithms, and sample size, we obtained the best models with R2 values of 0.868 ± 0.024 and 0.978 ± 0.008, and root-mean-square-error values of 29.5 ± 2.6 and 14.1 ± 2.0 for freshwater and saltwater, respectively. Five inexperienced users utilized this method for alkalinity analysis and achieved comparable results in performance. Additionally, we developed a user-friendly website where users, without prior experience, can upload images to obtain alkalinity readings for their water samples. This AI-powered, equipment-free technology represents a significant milestone in water quality monitoring, deviating from the trend of developing increasingly advanced analytical techniques and serving as a foundation for developing similar methods across various water quality parameters and broader analytical applications.http://www.sciencedirect.com/science/article/pii/S2772985024000632AlkalinityEquipment free technologyMachine learningWater quality monitoring
spellingShingle Zachary Y. Han
Zihan Zheng
Alan Y. Han
Huichun Zhang
Effortless alkalinity analysis using AI and smartphone technology, no equipment needed, from freshwater to saltwater
Eco-Environment & Health
Alkalinity
Equipment free technology
Machine learning
Water quality monitoring
title Effortless alkalinity analysis using AI and smartphone technology, no equipment needed, from freshwater to saltwater
title_full Effortless alkalinity analysis using AI and smartphone technology, no equipment needed, from freshwater to saltwater
title_fullStr Effortless alkalinity analysis using AI and smartphone technology, no equipment needed, from freshwater to saltwater
title_full_unstemmed Effortless alkalinity analysis using AI and smartphone technology, no equipment needed, from freshwater to saltwater
title_short Effortless alkalinity analysis using AI and smartphone technology, no equipment needed, from freshwater to saltwater
title_sort effortless alkalinity analysis using ai and smartphone technology no equipment needed from freshwater to saltwater
topic Alkalinity
Equipment free technology
Machine learning
Water quality monitoring
url http://www.sciencedirect.com/science/article/pii/S2772985024000632
work_keys_str_mv AT zacharyyhan effortlessalkalinityanalysisusingaiandsmartphonetechnologynoequipmentneededfromfreshwatertosaltwater
AT zihanzheng effortlessalkalinityanalysisusingaiandsmartphonetechnologynoequipmentneededfromfreshwatertosaltwater
AT alanyhan effortlessalkalinityanalysisusingaiandsmartphonetechnologynoequipmentneededfromfreshwatertosaltwater
AT huichunzhang effortlessalkalinityanalysisusingaiandsmartphonetechnologynoequipmentneededfromfreshwatertosaltwater