ISSN print edition: 0366-6352
ISSN electronic edition: 1336-9075
Registr. No.: MK SR 9/7

Published monthly
 

Smartphone-based pH titration for liquid food applications

Yuhui Xiao, Yaqiu Huang, Junhong Qiu, Honghao Cai, and Hui Ni

Department of Physics, School of Science, Jimei University, Xiamen, China

 

E-mail: hhcai@jmu.edu.cn

Received: 16 March 2024  Accepted: 24 September 2024

Abstract:

The pH detection helps control food quality, prevent spoilage, determine storage methods, and monitor additive levels. In the previous studies, colorimetric pH detection involved manual capture of target regions and classification of acid–base categories, leading to time-consuming processes. Additionally, some researchers relied solely on R*G*B* or H*S*V* to build regression models, potentially limiting their generalizability and robustness. To address the limitations, this study proposed a colorimetric method that combines pH paper, smartphone, computer vision, and machine learning for fast and precise pH detection. Advantages of the computer vision model YOLOv5 include its ability to quickly capture the target region of the pH paper and automatically categorize it as either acidic or basic. Subsequently, recursive feature elimination was applied to filter out irrelevant features from the R*G*B*, H*S*V*, L*a*b*, Gray, XR, XG, and XB. Finally, the support vector regression was used to develop the regression model for pH value prediction. YOLOv5 demonstrated exceptional performance with mean average precision of 0.995, classification accuracy of 100%, and detection time of 4.9 ms. The pH prediction model achieved a mean absolute error (MAE) of 0.023 for acidity and 0.061 for alkalinity, signifying a notable advancement compared to the MAE range of 0.03–0.46 observed in the previous studies. The proposed approach shows potential in improving the dependability and effectiveness of pH detection, specifically in resource-constrained scenarios.

Graphical abstract

Keywords: pH detection; Colorimetric detection; Support vector regression; Machine learning; YOLO; Feature selection algorithm

Full paper is available at www.springerlink.com.

DOI: 10.1007/s11696-024-03715-9

 

Chemical Papers 78 (16) 8849–8862 (2024)

Sunday, November 24, 2024

IMPACT FACTOR 2023
2.1
SCImago Journal Rank 2023
0.381
SEARCH
Advanced
VOLUMES
© 2024 Chemical Papers