Early Detection of Mold-Contaminated Peanuts Using Machine Learning and Deep Features Based on Optical Coherence Tomography
Abstract
:1. Introduction
- Find suitable features for representing the OCT images extracted from peanuts,
- Identify a suitable classification models and feature combinations for the task detecting the mold-contaminated peanuts by evaluating the performance of those methods on our data set,
- Evaluate accuracy proposed method against the contamination period.
2. Materials and Methods
2.1. Experiments and OCT Image Dataset
2.1.1. Preparing the Spore Suspension
2.1.2. Peanut Sampling and Inoculation
2.1.3. Optical Coherence Tomography Images Dataset
2.2. Proposed Method
2.2.1. Noise Reduction and OCT Image Background Removal
2.2.2. Deep Feature Extraction and ECOC-SVM Model Training
3. Results and Discussion
4. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Conflicts of Interest
References
- List, G.R. Processing and food uses of peanut oil and protein. In Peanuts; Elsevier: Amsterdam, The Netherlands, 2016; pp. 405–428. [Google Scholar]
- Ali, E.; Zachariah, R.; Dahmane, A.; Van den Boogaard, W.; Shams, Z.; Akter, T.; Alders, P.; Manzi, M.; Allaouna, M.; Draguez, B.; et al. Peanut-based ready-to-use therapeutic food: Acceptability among malnourished children and community workers in Bangladesh. Public Health Action 2013, 3, 128–135. [Google Scholar] [CrossRef] [Green Version]
- Okoth, S.; De Boevre, M.; Vidal, A.; Diana Di Mavungu, J.; Landschoot, S.; Kyallo, M.; Njuguna, J.; Harvey, J.; De Saeger, S. Genetic and toxigenic variability within Aspergillus flavus population isolated from maize in two diverse environments in Kenya. Front. Microbiol. 2018, 9, 57. [Google Scholar] [CrossRef] [PubMed]
- Wu, Q.; Xu, H. Design and development of an on-line fluorescence spectroscopy system for detection of aflatoxin in pistachio nuts. Postharvest Biol. Technol. 2020, 159, 111016. [Google Scholar] [CrossRef]
- Omotayo, O.P.; Omotayo, A.O.; Mwanza, M.; Babalola, O.O. Prevalence of mycotoxins and their consequences on human health. Toxicol. Res. 2019, 35, 1–7. [Google Scholar] [CrossRef] [Green Version]
- Centers for Disease Control and Prevention. Outbreak of aflatoxin poisoning-eastern and central provinces, Kenya, January–July 2004. MMWR. Morb. Mortal. Wkly. Rep. 2004, 53, 790. [Google Scholar]
- Vardon, P.; McLaughlin, C.; Nardinelli, C. Potential Economic Costs of Mycotoxins in the United States; Council for Agricultural Science and Technology Task Force Report; Council for Agricultural Science and Technology: Ames, IA, USA, 2003. [Google Scholar]
- Cheng, Z.; Wacoo, A.P.; Wendiro, D.; Vuzi, P.C.; Hawumba, J.F. Methods for Detection of Aflatoxins in Agricultural Food Crops. J. Appl. Chem. 2014, 2014, 706291. [Google Scholar] [CrossRef] [Green Version]
- Herzallah, S.M. Determination of aflatoxins in eggs, milk, meat and meat products using HPLC fluorescent and UV detectors. Food Chem. 2009, 114, 1141–1146. [Google Scholar] [CrossRef]
- Wang, W.; Heitschmidt, G.W.; Ni, X.; Windham, W.R.; Hawkins, S.; Chu, X. Identification of aflatoxin B1 on maize kernel surfaces using hyperspectral imaging. Food Control 2014, 42, 78–86. [Google Scholar] [CrossRef]
- Lavine, B.K.; Mirjankar, N.; LeBouf, R.; Rossner, A. Prediction of mold contamination from microbial volatile organic compound profiles using solid phase microextraction and gas chromatography/mass spectrometry. Microchem. J. 2012, 103, 37–41. [Google Scholar] [CrossRef]
- Lin, H.; Cousin, M. Detection of mold in processed foods by high performance liquid chromatography. J. Food Prot. 1985, 48, 671–678. [Google Scholar] [CrossRef]
- Tao, F.; Yao, H.; Hruska, Z.; Burger, L.W.; Rajasekaran, K.; Bhatnagar, D. Recent development of optical methods in rapid and non-destructive detection of aflatoxin and fungal contamination in agricultural products. TrAC Trends Anal. Chem. 2018, 100, 65–81. [Google Scholar] [CrossRef]
- Fernández-Ibañez, V.; Soldado, A.; Martínez-Fernández, A.; De la Roza-Delgado, B. Application of near infrared spectroscopy for rapid detection of aflatoxin B1 in maize and barley as analytical quality assessment. Food Chem. 2009, 113, 629–634. [Google Scholar] [CrossRef]
- Wang, W.; Lawrence, K.C.; Ni, X.; Yoon, S.C.; Heitschmidt, G.W.; Feldner, P. Near-infrared hyperspectral imaging for detecting Aflatoxin B1 of maize kernels. Food Control 2015, 51, 347–355. [Google Scholar] [CrossRef]
- Lunadei, L.; Ruiz-Garcia, L.; Bodria, L.; Guidetti, R. Image-based screening for the identification of bright greenish yellow fluorescence on pistachio nuts and cashews. Food Bioprocess Technol. 2013, 6, 1261–1268. [Google Scholar] [CrossRef]
- Osborne, B.G. Near-Infrared Spectroscopy in Food Analysis. In Encyclopedia of Analytical Chemistry; American Cancer Society: Atlanta, GA, USA, 2006. [Google Scholar] [CrossRef]
- Li, Z.; Tang, X.; Shen, Z.; Yang, K.; Zhao, L.; Li, Y. Comprehensive comparison of multiple quantitative near-infrared spectroscopy models for Aspergillus flavus contamination detection in peanut. J. Sci. Food Agric. 2019, 99, 5671–5679. [Google Scholar] [CrossRef]
- Gu, S.; Wang, J.; Wang, Y. Early discrimination and growth tracking of Aspergillus spp. contamination in rice kernels using electronic nose. Food Chem. 2019, 292, 325–335. [Google Scholar] [CrossRef]
- Jiang, J.; Qiao, X.; He, R. Use of Near-Infrared hyperspectral images to identify moldy peanuts. J. Food Eng. 2016, 169, 284–290. [Google Scholar] [CrossRef]
- Qi, X.; Jiang, J.; Cui, X.; Yuan, D. Moldy Peanut Kernel Identification Using Wavelet Spectral Features Extracted from Hyperspectral Images. Food Anal. Methods 2020, 13, 445–456. [Google Scholar] [CrossRef]
- Qiao, X.; Jiang, J.; Qi, X.; Guo, H.; Yuan, D. Utilization of spectral-spatial characteristics in shortwave infrared hyperspectral images to classify and identify fungi-contaminated peanuts. Food Chem. 2017, 220, 393–399. [Google Scholar] [CrossRef] [PubMed]
- Nandy, S.; Sanders, M.; Zhu, Q. Classification and analysis of human ovarian tissue using full field optical coherence tomography. Biomed. Opt. Express 2016, 7, 5182–5187. [Google Scholar] [CrossRef] [Green Version]
- Hu, J. Contrast Agents for Cardiovascular Optical Imaging at Molecular Level. Ph.D. Thesis, Universidad Autonoma de Madrid, Madrid, Spain, 2018. [Google Scholar]
- Pagnoni, A.; Knuettel, A.; Welker, P.; Rist, M.; Stoudemayer, T.; Kolbe, L.; Sadiq, I.; Kligman, A.M. Optical coherence tomography in dermatology. Ski. Res. Technol. 1999, 5, 83–87. [Google Scholar] [CrossRef]
- Bezerra, H.G.; Costa, M.A.; Guagliumi, G.; Rollins, A.M.; Simon, D.I. Intracoronary optical coherence tomography: A comprehensive review: Clinical and research applications. JACC Cardiovasc. Interv. 2009, 2, 1035–1046. [Google Scholar] [CrossRef] [Green Version]
- Anna, T.; Chakraborty, S.; Cheng, C.Y.; Srivastava, V.; Chiou, A.; Kuo, W.C. Elucidation of microstructural changes in leaves during senescence using spectral domain optical coherence tomography. Sci. Rep. 2019, 9, 1167. [Google Scholar] [CrossRef] [PubMed] [Green Version]
- Wijesinghe, R.E.; Lee, S.Y.; Ravichandran, N.K.; Han, S.; Jeong, H.; Han, Y.; Jung, H.Y.; Kim, P.; Jeon, M.; Kim, J. Optical coherence tomography-integrated, wearable (backpack-type), compact diagnostic imaging modality for in situ leaf quality assessment. Appl. Opt. 2017, 56, D108–D114. [Google Scholar] [CrossRef]
- Ravichandran, N.K.; Wijesinghe, R.E.; Lee, S.Y.; Shirazi, M.F.; Jung, H.Y.; Jeon, M.; Kim, J. In Vivo Non-Destructive Monitoring of Capsicum Annuum Seed Growth with Diverse NaCl Concentrations Using Optical Detection Technique. Sensors 2017, 17, 2887. [Google Scholar] [CrossRef] [Green Version]
- Lee, S.Y.; Lee, C.; Kim, J.; Jung, H.Y. Application of optical coherence tomography to detect Cucumber green mottle mosaic virus (CGMMV) infected cucumber seed. Hortic. Environ. Biotechnol. 2012, 53, 428–433. [Google Scholar] [CrossRef]
- Lee, C.; Lee, S.Y.; Kim, J.Y.; Jung, H.Y.; Kim, J. Optical Sensing Method for Screening Disease in Melon Seeds by Using Optical Coherence Tomography. Sensors 2011, 11, 9467–9477. [Google Scholar] [CrossRef] [Green Version]
- Joshi, D.; Butola, A.; Kanade, S.R.; Prasad, D.K.; Amitha Mithra, S.; Singh, N.; Bisht, D.S.; Mehta, D.S. Label-free non-invasive classification of rice seeds using optical coherence tomography assisted with deep neural network. Opt. Laser Technol. 2021, 137, 106861. [Google Scholar] [CrossRef]
- Gharaibeh, Y.; Prabhu, D.S.; Kolluru, C.; Lee, J.; Zimin, V.; Bezerra, H.G.; Wilson, D.L. Coronary calcification segmentation in intravascular OCT images using deep learning: Application to calcification scoring. J. Med. Imaging 2019, 6, 045002. [Google Scholar] [CrossRef] [PubMed] [Green Version]
- Lee, C.S.; Baughman, D.M.; Lee, A.Y. Deep learning is effective for classifying normal versus age-related macular degeneration OCT images. Ophthalmol. Retin. 2017, 1, 322–327. [Google Scholar] [CrossRef]
- Tasnim, N.; Hasan, M.; Islam, I. Comparisonal study of Deep Learning approaches on Retinal OCT Image. arXiv 2019, arXiv:1912.07783. [Google Scholar]
- Alcantarilla, P.F.; Bartoli, A.; Davison, A.J. KAZE features. In Proceedings of the European Conference on Computer Vision, Florence, Italy, 7–13 October 2012; pp. 214–227. [Google Scholar]
- Bay, H.; Ess, A.; Tuytelaars, T.; Van Gool, L. Speeded-up robust features (SURF). Comput. Vis. Image Underst. 2008, 110, 346–359. [Google Scholar] [CrossRef]
- Dalal, N.; Triggs, B. Histograms of oriented gradients for human detection. In Proceedings of the 2005 IEEE computer society conference on computer vision and pattern recognition (CVPR’05), San Diego, CA, USA, 20–25 June 2005; Volume 1, pp. 886–893. [Google Scholar]
- Miri, M.S.; Abràmoff, M.D.; Kwon, Y.H.; Garvin, M.K. Multimodal registration of SD-OCT volumes and fundus photographs using histograms of oriented gradients. Biomed. Opt. Express 2016, 7, 5252–5267. [Google Scholar] [CrossRef] [PubMed] [Green Version]
- Donoser, M.; Bischof, H. Efficient maximally stable extremal region (MSER) tracking. In Proceedings of the 2006 IEEE Computer Society Conference on Computer Vision and Pattern Recognition (CVPR’06), New York, NY, USA, 17–22 June 2006; Volume 1, pp. 553–560. [Google Scholar]
- Shen, F.; Wu, Q.; Liu, P.; Jiang, X.; Fang, Y.; Cao, C. Detection of Aspergillus spp. contamination levels in peanuts by near infrared spectroscopy and electronic nose. Food Control 2018, 93, 1–8. [Google Scholar] [CrossRef]
- Casquete, R.; Benito, M.J.; de Guía Córdoba, M.; Ruiz-Moyano, S.; Martín, A. The growth and aflatoxin production of Aspergillus flavus strains on a cheese model system are influenced by physicochemical factors. J. Dairy Sci. 2017, 100, 6987–6996. [Google Scholar] [CrossRef] [PubMed]
- Tao, F.; Yao, H.; Hruska, Z.; Liu, Y.; Rajasekaran, K.; Bhatnagar, D. Use of Visible–Near-Infrared (Vis-NIR) Spectroscopy to Detect Aflatoxin B1 on Peanut Kernels. Appl. Spectrosc. 2019, 73, 415–423. [Google Scholar] [CrossRef]
- Wang, P.; Chang, P.K.; Kong, Q.; Shan, S.; Wei, Q. Comparison of aflatoxin production of Aspergillus flavus at different temperatures and media: Proteome analysis based on TMT. Int. J. Food Microbiol. 2019, 310, 108313. [Google Scholar] [CrossRef]
- Benkerroum, N. Aflatoxins: Producing-Molds, Structure, Health Issues and Incidence in Southeast Asian and Sub-Saharan African Countries. Int. J. Environ. Res. Public Health 2020, 17, 1215. [Google Scholar] [CrossRef] [PubMed] [Green Version]
- Schmidt-Heydt, M.; Magan, N.; Geisen, R. Stress induction of mycotoxin biosynthesis genes by abiotic factors. FEMS Microbiol. Lett. 2008, 284, 142–149. [Google Scholar] [CrossRef] [Green Version]
- Brezinski, M.E. Optical Coherence Tomography: Principles and Applications; Elsevier: Amsterdam, The Netherlands, 2006. [Google Scholar]
- Otsu, N. A Threshold Selection Method from Gray-Level Histograms. IEEE Trans. Syst. Man Cybern. 1979, 9, 62–66. [Google Scholar] [CrossRef] [Green Version]
- Donahue, J.; Jia, Y.; Vinyals, O.; Hoffman, J.; Zhang, N.; Tzeng, E.; Darrell, T. Decaf: A deep convolutional activation feature for generic visual recognition. In Proceedings of the International Conference on Machine Learning, Beijing, China, 21–26 June 2014; pp. 647–655. [Google Scholar]
- Zhou, B.; Lapedriza, A.; Xiao, J.; Torralba, A.; Oliva, A. Learning Deep Features for Scene Recognition using Places Database. In Advances in Neural Information Processing Systems; Ghahramani, Z., Welling, M., Cortes, C., Lawrence, N., Weinberger, K.Q., Eds.; Curran Associates, Inc.: Red Hook, NY, USA, 2014; Volume 27. [Google Scholar]
- Sharif Razavian, A.; Azizpour, H.; Sullivan, J.; Carlsson, S. CNN features off-the-shelf: An astounding baseline for recognition. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition Workshops, Columbus, OH, USA, 23–28 June 2014; pp. 806–813. [Google Scholar]
- Zhou, B.; Khosla, A.; Lapedriza, A.; Oliva, A.; Torralba, A. Learning deep features for discriminative localization. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Las Vegas, NV, USA, 27–30 June 2016; pp. 2921–2929. [Google Scholar]
- Wiatowski, T.; Bölcskei, H. A mathematical theory of deep convolutional neural networks for feature extraction. IEEE Trans. Inf. Theory 2017, 64, 1845–1866. [Google Scholar] [CrossRef] [Green Version]
- Russakovsky, O.; Deng, J.; Su, H.; Krause, J.; Satheesh, S.; Ma, S.; Huang, Z.; Karpathy, A.; Khosla, A.; Bernstein, M.; et al. Imagenet large scale visual recognition challenge. Int. J. Comput. Vis. 2015, 115, 211–252. [Google Scholar] [CrossRef] [Green Version]
- Quinlan, A.R.; Hall, I.M. BEDTools: A flexible suite of utilities for comparing genomic features. Bioinformatics 2010, 26, 841–842. [Google Scholar] [CrossRef] [PubMed] [Green Version]
- Lobo, J.; Jiménez-valverde, A.; Real, R. AUC: Erratum: Predicting species distribution: Offering more than simple habitat models. Glob. Ecol. Biogeogr. 2008, 17, 145–151. [Google Scholar] [CrossRef]
- Doumpos, M.; Zopounidis, C. Credit scoring. In Multicriteria Analysis in Finance; Springer: Berlin/Heidelberg, Germany, 2014; pp. 43–59. [Google Scholar]
- Flach, P.; Hernández-Orallo, J.; Ferri, C. A Coherent Interpretation of AUC as a Measure of Aggregated Classification Performance. In Proceedings of the 28th International Conference on International Conference on Machine Learning; Omnipress: Madison, WI, USA, 2011; pp. 657–664. [Google Scholar]
- Vapnik, V.N.; Vapnik, V. Statistical Learning Theory; Wiley: New York, NY, USA, 1998; Volume 1. [Google Scholar]
Method | Precision | Recall | F1-Score | Accuracy | Balanced Accuracy |
---|---|---|---|---|---|
KNN + Deep features | 0.95 | 0.86 | 0.90 | 0.91 | 0.91 |
ECOC-SVM + Deep features | 0.92 | 0.77 | 0.84 | 0.85 | 0.85 |
ECOC-SVM + KAZE features | 0.94 | 0.72 | 0.81 | 0.84 | 0.84 |
ECOC-SVM + SURF features | 0.92 | 0.70 | 0.80 | 0.82 | 0.82 |
KNN + KAZE features | 0.84 | 0.66 | 0.74 | 0.77 | 0.77 |
ECOC-SVM + HOG features | 0.75 | 0.70 | 0.73 | 0.73 | 0.73 |
ECOC-SVM + MSER features | 0.81 | 0.59 | 0.68 | 0.73 | 0.73 |
KNN + HOG features | 0.79 | 0.58 | 0.67 | 0.71 | 0.71 |
KNN + MSER features | 0.66 | 0.33 | 0.44 | 0.58 | 0.58 |
KNN + SURF features | 0.57 | 0.19 | 0.28 | 0.52 | 0.52 |
Method | Precision | Recall | F1-Score | Accuracy | Balanced Accuracy |
---|---|---|---|---|---|
ECOC-SVM + Deep features | 0.76 | 0.92 | 0.83 | 0.89 | 0.89 |
ECOC-SVM + SURF features | 0.73 | 0.97 | 0.83 | 0.88 | 0.90 |
ECOC-SVM + KAZE features | 0.70 | 0.95 | 0.81 | 0.86 | 0.89 |
KNN + Deep features | 0.63 | 0.91 | 0.74 | 0.81 | 0.84 |
ECOC-SVM + MSER features | 0.74 | 0.74 | 0.68 | 0.79 | 0.78 |
KNN + KAZE features | 0.59 | 0.70 | 0.64 | 0.76 | 0.74 |
KNN + MSER features | 0.50 | 0.48 | 0.49 | 0.69 | 0.63 |
ECOC-SVM + HOG features | 0.48 | 0.88 | 0.62 | 0.67 | 0.73 |
KNN + HOG features | 0.41 | 0.75 | 0.53 | 0.59 | 0.63 |
KNN + SURF features | 0.16 | 0.08 | 0.11 | 0.59 | 0.45 |
Method | 0 h | 24 h | 48 h | 72 h | 96 h |
---|---|---|---|---|---|
ECOC-SVM + Deep features | 0.91 | 0.92 | 0.90 | 0.74 | 0.96 |
ECOC-SVM + SURF features | 0.92 | 0.91 | 0.89 | 0.72 | 0.95 |
ECOC-SVM + KAZE features | 0.90 | 0.91 | 0.89 | 0.68 | 0.92 |
KNN + Deep features | 0.78 | 0.85 | 0.82 | 0.68 | 0.91 |
Method | ||||
---|---|---|---|---|
ECOC-SVM + Deep features | 3.7 | 0.48 | 3.44 | 3.44 |
ECOC-SVM + SURF features | 7.99 | 3.36 | 5.77 | 8.25 |
ECOC-SVM + KAZE features | 8.48 | 0.65 | 2.41 | 5.03 |
KNN + Deep features | 7.17 | 15.69 | 9.82 | 7.02 |
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. |
© 2021 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Manhando, E.; Zhou, Y.; Wang, F. Early Detection of Mold-Contaminated Peanuts Using Machine Learning and Deep Features Based on Optical Coherence Tomography. AgriEngineering 2021, 3, 703-715. https://0-doi-org.brum.beds.ac.uk/10.3390/agriengineering3030045
Manhando E, Zhou Y, Wang F. Early Detection of Mold-Contaminated Peanuts Using Machine Learning and Deep Features Based on Optical Coherence Tomography. AgriEngineering. 2021; 3(3):703-715. https://0-doi-org.brum.beds.ac.uk/10.3390/agriengineering3030045
Chicago/Turabian StyleManhando, Edwin, Yang Zhou, and Fenglin Wang. 2021. "Early Detection of Mold-Contaminated Peanuts Using Machine Learning and Deep Features Based on Optical Coherence Tomography" AgriEngineering 3, no. 3: 703-715. https://0-doi-org.brum.beds.ac.uk/10.3390/agriengineering3030045