Detecting Liquid Food Adulteration with Mobile Hyperspectral Analysis based on RGB Camera
Open Access
- 26 October 2026
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 68-83
Abstract
Liquid adulteration poses critical societal challenges by endangering public health and causing economic losses. Existing methods on mobile devices rely solely on vibration-based solutions, which face practical limitations due to requirements of specific container materials/structures and vibrational contact. In this paper, we present LiquidLens, a practical, non-contact mobile system for detecting liquid adulteration based on RGB images of liquid surfaces. Inspired by hyperspectral reconstruction, we aim to analyze liquid food's hyperspectral properties from RGB data for effective adulteration detection. To achieve this, we address three major challenges: First, the specular reflections of liquid, which act as a mirror image of surrounding obstacles, distort spectral measurements. Second, the camera's spectral range is restricted to the visible domain, which lacks access to vital information in the invisible bands. Third, the target liquid spectrum is entangled with uncertain ambient illumination, rendering it uninterpretable. To overcome these challenges, we first exploit the camera flash as visible light source and validate its spectral consistency across mobile devices. Next, we design a specular noise suppression technique to cancel the specular noise. Then, we design an RGB-based VIS-NIR spectral recovery (RVN-SR) framework to overcome the spectral range limitation. Besides, a cross-spectral training scheme is designed to train the RVN-SR model in the flash domain, compensating for the lack of NIR radiation. We deploy and validate LiquidLens across multiple smartphones. Experimental results show robust detection accuracy of 96.2% for 8 honey adulteration types and 94.0% for 5 wine adulteration types.Keywords
Funding Information
- UGC/GRF (15211024)
- Innovation and Technology Fund (ITS/034/23FP)
- Innovation and Technology Fund (GHP/079/22SZ)
- Shenzhen Fundamental Research Scheme (JCYJ20230807140410022)
This publication has 22 references indexed in Scilit:
- VibMilk: Nonintrusive Milk Spoilage Detection via Smartphone VibrationIEEE Internet of Things Journal, 2024
- Plasmonic sensor for rapid detection of water adulteration in honey and quantitative measurement of lactose concentration in solutionResults in Physics, 2023
- LumosProceedings of the ACM on Interactive, Mobile, Wearable and Ubiquitous Technologies, 2022
- Testing a Drop of Liquid Using Smartphone LiDARProceedings of the ACM on Interactive, Mobile, Wearable and Ubiquitous Technologies, 2022
- Rapid detection of three quality parameters and classification of wine based on Vis-NIR spectroscopy with wavelength selection by ACO and CARS algorithmsSpectrochimica Acta Part A: Molecular and Biomolecular Spectroscopy, 2018
- Applications of hyperspectral imaging for quality assessment of liquid based and semi-liquid food products: A reviewJournal of Food Engineering, 2017
- Detection of melamine adulteration in milk by near-infrared spectroscopy and one-class partial least squaresSpectrochimica Acta Part A: Molecular and Biomolecular Spectroscopy, 2017
- Detection of Honey Adulteration using Hyperspectral ImagingIFAC-PapersOnLine, 2016
- On-line system based on hyperspectral information to estimate acidity, moisture and peroxides in olive oil samplesComputers and Electronics in Agriculture, 2015
- A feasibility study on on-line determination of rice wine composition by Vis–NIR spectroscopy and least-squares support vector machinesFood Chemistry, 2009