Smartphone-based colorimetric detection via machine learning

Analyst. 2017 Jul 7;142(13):2434-2441. doi: 10.1039/c7an00741h. Epub 2017 Jun 9.

Abstract

We report the application of machine learning to smartphone-based colorimetric detection of pH values. The strip images were used as the training set for Least Squares-Support Vector Machine (LS-SVM) classifier algorithms that were able to successfully classify the distinct pH values. The difference in the obtained image formats was found not to significantly affect the performance of the proposed machine learning approach. Moreover, the influence of the illumination conditions on the perceived color of pH strips was investigated and further experiments were conducted to study the effect of color change on the learning model. Non-integer pH levels are identified as their nearest integer pH values, whereas the test results for integer pH levels using JPEG, RAW and RAW-corrected image formats captured under different lighting conditions lead to perfect classification accuracy, sensitivity and specificity, which proves that colorimetric detection using machine learning based systems is able to adapt to various experimental conditions and is a great candidate for smartphone-based sensing in paper-based colorimetric assays.