Smartphone-Based Colorimetric Analysis of pH Strips Using Machine Learning

Abstract

This study introduces a machine learning (ML)-enhanced smartphone application designed for the precise colorimetric quantification of pH strips. To ensure the robustness of the system against environmental variations, a comprehensive dataset was constructed by capturing images of pH strips under diverse illumination conditions and camera angles. Following region of interest extraction, an initial set of 33 colorimetric features was employed to train and evaluate 15 different regression models. To ensure model interpretability and computational efficiency, a SHapley Additive exPlanations (SHAP)-based analysis was implemented, successfully identifying six critical descriptors (including color channel skewness, entropy, and intensity metrics) that primarily govern the pH prediction. The best-performing model (R2 = 0.99) was subsequently integrated into a user-friendly Android application, pHScoper. This application enables image capture, interactive cropping, and offline, on-device quantitative analysis without cloud reliance. Overall, the developed platform demonstrates strong potential for reliable, low-cost pH measurements in resource-limited settings.

Supplementary files

Article information

Article type
Paper
Submitted
24 Apr 2026
Accepted
07 Jun 2026
First published
08 Jun 2026
This article is Open Access
Creative Commons BY-NC license

Anal. Methods, 2026, Accepted Manuscript

Smartphone-Based Colorimetric Analysis of pH Strips Using Machine Learning

E. Yıldız, M. Şen and M. A. Özdemir, Anal. Methods, 2026, Accepted Manuscript , DOI: 10.1039/D6AY00780E

This article is licensed under a Creative Commons Attribution-NonCommercial 3.0 Unported Licence. You can use material from this article in other publications, without requesting further permission from the RSC, provided that the correct acknowledgement is given and it is not used for commercial purposes.

To request permission to reproduce material from this article in a commercial publication, please go to the Copyright Clearance Center request page.

If you are an author contributing to an RSC publication, you do not need to request permission provided correct acknowledgement is given.

If you are the author of this article, you do not need to request permission to reproduce figures and diagrams provided correct acknowledgement is given. If you want to reproduce the whole article in a third-party commercial publication (excluding your thesis/dissertation for which permission is not required) please go to the Copyright Clearance Center request page.

Read more about how to correctly acknowledge RSC content.

Social activity

Spotlight

Advertisements