Hyperspectral imaging and machine learning for monitoring produce ripeness


Hyperspectral imaging is a powerful remote sensing tool capable of capturing rich spectral and spatial information. Although the origins of hyperspectral imaging are in terrestrial remote sensing, new applications are emerging rapidly. Owing to its non-destructive nature, hyperspectral imaging has become a useful tool for monitoring produce ripeness. This paper describes the process that uses a visible near-infrared (VNIR) hyperspectral imager from Resonon, Inc., coupled with machine learning algorithms to assess the ripeness of various pieces of produce. The images were converted to reflectance across a spectral range of 387.12 nm to 1023.5 nm, with a spectral resolution of 2.12 nm. A convolutional neural network was used to perform age classification for potatoes, bananas, and green peppers. Additionally, a genetic algorithm was used to determine the wavelengths carrying the most useful information for age classification. Experiments were run using RGB images, full spectrum hyperspectral images, and the genetic algorithm feature selection method. Results showed that the genetic algorithm-based feature selection method outperforms RGB images for all tested produce, outperforms hyperspectral imagery for bananas, and matches hyperspectral imagery performance for green peppers. This feature selection method is being used to develop a low-cost multi-spectral imager for use in monitoring produce in grocery stores.




Logan, Riley D., Bryan J. Scherrer, Jacob Senecal, Neil S. Walton, Amy Peerlinck, John W. Sheppard, and Joseph A. Shaw. “Hyperspectral Imaging and Machine Learning for Monitoring Produce Ripeness.” Edited by Moon S. Kim, Byoung-Kwan Cho, and Bryan A. Chin. Sensing for Agriculture and Food Quality and Safety XII (April 22, 2020). doi:10.1117/12.2560968.
Copyright (c) 2002-2022, LYRASIS. All rights reserved.