This study introduces a novel method for classifying whole and lactose-free milk and the detection of water adulteration through analyzing dried droplets. The key innovation is the addition of NaCl, which modulates crystallization to enhance structural differentiation and facilitate the classification of milk types and detection of adulteration. Dried droplets of milk containing NaCl concentrations of , , and were analyzed, revealing distinct morphologies, including amorphous, cross-shaped, and dendritic crystals. These structures were quantitatively characterized using lacunarity to assess their discriminatory power. Two classification approaches were evaluated: one based on lacunarity analysis alone and another incorporating deep learning. Both methods yielded high classification accuracies, with lacunarity achieving , while deep learning reached . Notably, the highest performance was obtained with NaCl, where lacunarity reached and deep learning , indicating improved precision and stability. While deep learning demonstrated more consistent performance across test cases, lacunarity alone captured highly discriminative structural features, making it a valuable complementary tool. The integration of NaCl and lacunarity analysis offers a robust and interpretable methodology for ensuring the quality and authenticity of dairy products, particularly in detecting adulteration, where morphological contrast is less evident.
9 October 2025 in European Journal of Mechanics - B/Fluids