Related Experiment Video
Updated: Jan 31, 2026

Author Spotlight: Development of a Smartphone-Enhanced Paper-Based Device for Rapid Dengue NS1 Detection
Published on: January 26, 2024
Smartphone-based colorimetric sensing with reference calibration and ensemble machine learning for enhanced detection
Trung Nguyen Quoc1, Minh-Vuong Phan2, Khoi Pham Dang1
1Department of Information Technology, FPT University, Ho Chi Minh City, Viet Nam.
Background:
Rapid, low-cost detection of nutrient pollutants such as nitrite (NO2-) and ammonium (NH4+) is crucial for environmental monitoring. Conventional colorimetric instruments offer high accuracy but are expensive, bulky, and unsuitable for on-site analysis. Smartphone-based colorimetry provides a portable and affordable alternative, yet its accuracy is often compromised by variations in illumination and camera hardware. Although color reference standards and linear calibration improve consistency, achieving device-independent quantification remains challenging. This study introduces an integrated smartphone colorimetric platform combining a controlled lightbox, embedded color reference, and ensemble machine learning to enhance analytical robustness and reproducibility.
Results:
A total of 2,700 Rhodamine B images (five smartphones, 30 concentrations each) and 5,400 analyte images (six smartphones, 30 concentrations each for NO2- and NH4+) were analyzed using eight machine learning algorithms under two pipelines: ROI-only and reference "Square" calibration. Ensemble models (Random Forest, XGBoost) consistently outperformed other approaches, achieving >95 % accuracy in concentration classification and superior regression performance. Reference calibration markedly enhanced cross-device reproducibility and precision, increasing R2 from 0.76-0.89 (ROI) to 0.89-0.95 and reducing MSE by 25-75 %, depending on model and device (e.g., Mi8 Lite-XGBoost: 2.16 → 0.57 ppm2; Nokia-Random Forest: 1.49 → 0.85 ppm2). Even budget smartphones (e.g., Oppo A83, Redmi A1) reached R2 ≥ 0.91, comparable to high-end models. Variance across replicate trials decreased, confirming improved stability. Combined RGB/HSV/CIELAB feature sets with reference-normalized deltas and ratios were most predictive, yielding a final R2 of 0.95 with minimal error and high consistency.
Significance:
By integrating standardized imaging, color reference calibration, and ensemble machine learning, this study establishes a robust and device-independent framework for quantitative smartphone colorimetry. The significant improvements in predictive accuracy (higher R2), error reduction (lower MSE), and measurement stability enable reliable analysis of NO2- and NH4+ using common smartphones. Moreover, the modular design can be readily adapted for other analytes and incorporated into mobile or cloud-based analytical platforms for scalable environmental monitoring.
Related Concept Videos
Ions as Acids and Bases
Salts are ionic compounds composed of cations and anions, either of which may be capable of undergoing an acid or base ionization reaction with water. Aqueous salt solutions, therefore, may be acidic, basic, or neutral, depending on the relative acid-base strengths of the salt’s constituent ions. For example, dissolving the ammonium chloride in water results in its dissociation, as described by the equation:
The Sense of Self: Reflected Self-Appraisal and Social Comparison
Common Ion Effect
Self-Evaluation: Self-Enhancement and Self-Verification
Glassware Calibration
Volumetric flasks: Volumetric flasks are designed to prepare aqueous solutions of precise volumes accurately with a calibration line on the neck. To calibrate a volumetric flask, it is important to fill it with distilled...
Instrument Calibration
Analytical Balance Calibration
An analytical balance measures mass and requires regular calibration to...

