Combining transmission speckle photography and convolutional neural network for determination of fat content in cow milk: an exercise in classification of parameters of a complex suspension

Kwasi Nyandey,Daniel Jakubczyk
DOI: https://doi.org/10.1140/epjp/s13360-024-04900-1
2024-02-04
The European Physical Journal Plus
Abstract:We have combined transmission speckle photography and machine learning for direct classification and recognition of off-the-shelf milk fat content classes. Our aim was hinged on the fact that parameters of scattering particles (and the dispersion medium) can be linked to the intensity distribution (speckle) observed when coherent light is transmitted through a scattering medium. For milk, it is primarily the size distribution and concentration of fat globules, which constitutes the total fat content. Consequently, we trained convolutional neural network to recognize and classify laser speckle images from different fat content classes (0.5, 1.5, 2.0 and 3.2%). We allowed exposure time to vary between speckle images, to overcome possible limitations imposed by the camera's dynamic range. We investigated four exposure-time protocols and obtained the highest classification performance for shorter exposure times, in which the intensity histograms are kept similar (and close to that of a fully developed speckle) for all images. Our neural network was able to recognize the fat content classes of milk unambiguously, and we achieved classification accuracies of 100 and ~ 99% for the test and independent sets, respectively. It indicates that the parameters of other complex realistic suspensions could be classified with similar methods.
physics, multidisciplinary
What problem does this paper attempt to address?