Vis/NIR Based Flexible Non-Destructive Sensing for Almonds
Abstract
1. Introduction
2. Materials and Methods
2.1. Sample Preparation
2.2. Design and Configuration of the FVNS
2.3. Spectral Measurement Procedure
2.4. Chemical Analysis
2.5. Data Processing
3. Results
3.1. Analysis of Almond Quality
3.2. Spectral Characterization and PCA Clustering
3.3. Quality Parameter Prediction
4. Discussion
4.1. Spectral Interpretation
4.2. Model Comparison
4.3. Inter-Varietal Heterogeneity and Biological Diversity
4.4. Practical Limitations
5. Conclusions
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
References
- Barreca, D.; Nabavi, S.M.; Sureda, A.; Rasekhian, M.; Raciti, R.; Silva, A.S.; Annunziata, G.; Arnone, A.; Tenore, G.C.; Suntar, I.; et al. Almonds (Prunus dulcis (Mill.) D.A. Webb): A Source of Bioactive Compounds with Health-Promoting Compounds. Nutrients 2020, 12, 672. [Google Scholar] [CrossRef]
- Sottile, F.; Massaglia, S.; Peano, C. Ecological and Economic Indicators for the Evaluation of Almond (Prunus dulcis L.) Orchard Renewal in Sicily. Agriculture 2020, 10, 301. [Google Scholar] [CrossRef]
- Kalita, S.; Khandelwal, S.; Madan, J.; Pandya, H.; Sesikeran, B.; Krishnaswamy, K. Almonds and cardiovascular health: A review. Nutrients 2018, 10, 468. [Google Scholar] [CrossRef]
- Esquius, L.; Segura, R.; Oviedo, G.R.; Massip-Salcedo, M.; Javierre, C. Effect of almond supplementation on non-esterified fatty acid values and exercise performance. Nutrients 2020, 12, 635. [Google Scholar] [CrossRef]
- Singar, S.; Kadyan, S.; Patoine, C.; Park, G.; Arjmandi, B.; Nagpal, R. The effects of almond consumption on cardiovascular health and gut microbiome: A comprehensive review. Nutrients 2024, 16, 1964. [Google Scholar] [CrossRef] [PubMed]
- Ojo, O.; Wang, X.-H.; Ojo, O.O.; Adegboye, A.R.A. The effects of almonds on gut microbiota, glycometabolism and inflammatory markers in patients with type 2 diabetes: A systematic review and meta-analysis of randomised controlled trials. Nutrients 2021, 13, 3377. [Google Scholar] [CrossRef]
- Yang, H.; San, Y.; Chen, Y.; Ma, Y.; Wang, X.; Shoukat, M.R.; Zheng, Y.; Hui, X. Monitoring and investigating the change patterns of major growth parameters of almond (Badam) trees under different irrigation conditions. Water 2023, 15, 3731. [Google Scholar] [CrossRef]
- Massantini, R.; Frangipane, M.T. Progress in almond quality and sensory assessment: An overview. Agriculture 2022, 12, 710. [Google Scholar] [CrossRef]
- Ibourki, M.; Ait Bouzid, H.; Bijla, L.; Aissa, R.; Sakar, E.H.; Ainane, T.; Gharby, S.; El Hammadi, A. Physical fruit traits, proximate composition, fatty acid and elemental profiling of almond (Prunus dulcis Mill. D.A. Webb) kernels from ten genotypes grown in southern Morocco. OCL 2022, 29, 9. [Google Scholar] [CrossRef]
- Chen, S.Y.; Wang, M.Y.; Kuo, Y.M.; Yang, J.F. Almond defect and freshness inspection system using hyperspectral imaging and deep learning techniques. Postharvest Biol. Technol. 2024, 211, 112837. [Google Scholar] [CrossRef]
- Özcan, M.M. A review on some properties of almond: Impact of processing, fatty acids, polyphenols, nutrients, bioactive properties and health aspects. J. Food Sci. Technol. 2023, 60, 1493–1504. [Google Scholar] [CrossRef]
- Kheiralipour, K.; Sajadipour, F.; Nadimi, M. A review of nut quality assessment using hyperspectral imaging technique. J. Food Compos. Anal. 2025, 148, 108184. [Google Scholar] [CrossRef]
- Zhang, W.; Lv, Z.; Xiong, S. Nondestructive quality evaluation of agro-products using acoustic vibration methods—A review. Crit. Rev. Food Sci. Nutr. 2018, 58, 2386–2397. [Google Scholar] [CrossRef]
- Hou, J.; He, Z.; Liu, D.; Li, M.; Zhang, Y. Mechanical damage characteristics and nondestructive testing techniques of fruits: A review. Food Sci. Technol. 2023, 43, e001823. [Google Scholar] [CrossRef]
- Contador, L.; Robles, B.; Shinya, P.; Infante, R. Characterization of texture attributes of raw almond using a trained sensory panel. Fruits 2015, 70, 231–237. [Google Scholar] [CrossRef]
- Aboonajmi, M.; Akhondzadeh, E.; Mortezaei, A.; Mohammadi, R. A Review on Application of Acoustic Analysis in Quality Evaluation of Agro-food Products. J. Food Process. Preserv. 2015, 39, 3175–3188. [Google Scholar] [CrossRef]
- Ilani, M.A.; Tehran, S.M.; Kavei, A.; Radmehr, A. Automatic image annotation (AIA) of AlmondNet-20 method for almond detection by improved CNN-based model. In Proceedings of the 31st International Conference on Neural Information Processing (ICONIP), Auckland, New Zealand, 2–6 December 2024. [Google Scholar]
- Li, R.; Zhang, S.; Kou, X.; Yang, B.; Wang, S. Dielectric properties of almond kernels associated with radio frequency and microwave pasteurization. Sci. Rep. 2017, 7, 42452. [Google Scholar] [CrossRef] [PubMed]
- Faqeerzada, M.A.; Perez, M.; Lohumi, S.; Kim, G.; Baek, I.; Cho, B.K. Online application of a hyperspectral imaging system for the sorting of adulterated almonds. Appl. Sci. 2020, 10, 6569. [Google Scholar] [CrossRef]
- Kabir, M.A.; Lee, I.; Lee, S.H. Deep learning-based detection of aflatoxin B1 contamination in almonds using hyperspectral imaging: A focus on optimized 3D Inception–ResNet model. Toxins 2025, 17, 156. [Google Scholar] [CrossRef] [PubMed]
- Fodor, M.; Matkovits, A.; Benes, E.L.; Kovacs, Z.; Gillay, B. The role of near-infrared spectroscopy in food quality assurance: A review of the past two decades. Foods 2024, 13, 3501. [Google Scholar] [CrossRef]
- Medina–García, M.; Amigo, J.M.; Martínez-Domingo, M.A.; Grassi, S.; Gowen, A. Strategies for analysing hyperspectral imaging data for food quality and safety issues—A critical review of the last 5 years. Microchem. J. 2025, 198, 113994. [Google Scholar] [CrossRef]
- Li, W.; Wu, Y.; Du, L.; Chen, Y.; Xu, J. Hyperspectral imaging for foreign matter detection in foods: Advances, challenges and future directions. Foods 2025, 14, 3026. [Google Scholar] [CrossRef]
- Rinnan, Å.; van den Berg, F.; Engelsen, S.B. Pre-processing of near-infrared spectral data: Scatter-correction, smoothing, derivatives and normalization. TrAC Trends Anal. Chem. 2009, 28, 1201–1222. [Google Scholar] [CrossRef]
- Lösel, H.; Shakiba, N.; Wenck, S.; Le Tan, P.; Arndt, M.; Seifert, S.; Fischer, M. Impact of Freeze-Drying on the Determination of the Geographical Origin of Almonds (Prunus dulcis Mill.) by Near-Infrared (NIR) Spectroscopy. Food Anal. Methods 2022, 15, 2847–2857. [Google Scholar] [CrossRef]
- Faqeerzada, M.A.; Lohumi, S.; Kim, G.; Cho, B.K. Hyperspectral shortwave infrared image analysis for detection of adulterants in almond powder with one-class classification method. Sensors 2020, 20, 5855. [Google Scholar] [CrossRef]
- Torres-Rodríguez, I.; Sánchez, M.-T.; Entrenas, J.-A.; Vega-Castellote, M.; Garrido-Varo, A.; Pérez-Marín, D. Hyperspectral imaging for the detection of bitter almonds in sweet almond batches. Appl. Sci. 2022, 12, 4842. [Google Scholar] [CrossRef]
- Vega-Castellote, M.; Sánchez, M.-T.; Torres-Rodríguez, I.; Entrenas, J.-A.; Pérez-Marín, D. NIR Sensing Technologies for the Detection of Fraud in Nuts and Nut Products: A Review. Foods 2024, 13, 1612. [Google Scholar] [CrossRef] [PubMed]
- Afsharipour, M.; Shamsi, M.; Ghasemian, F.; Karami, A.; Saberi, M. Detection of Bitterness and Sweetness of Almonds Using Almond Shells: An Approach Based on Fourier Transform Infrared Spectroscopy and Machine and Deep Learning. Available online: https://ssrn.com/abstract=5361902 (accessed on 1 February 2026).
- Walsh, K.B.; Blasco, J.; Zude-Sasse, M.; Sun, X. Visible-NIR ‘point’ spectroscopy in postharvest fruit and vegetable assessment: The science behind three decades of commercial use. Postharvest Biol. Technol. 2020, 168, 111246. [Google Scholar] [CrossRef]
- Abrantes, G.; Almeida, V.; Maia, A.J.; Nascimento, R.; Nascimento, C.; Silva, Y.; Veras, G. Comparison between Variable-Selection Algorithms in PLS Regression with Near-Infrared Spectroscopy to Predict Selected Metals in Soil. Molecules 2023, 28, 6959. [Google Scholar] [CrossRef] [PubMed]
- Singh, R.; Nisha, R.; Naik, R.; Upendar, K.; Nickhil, C.; Deka, S.C. Sensor Fusion Techniques in Deep Learning for Multimodal Fruit and Vegetable Quality Assessment: A Comprehensive Review. J. Food Meas. Charact. 2024, 18, 8088–8109. [Google Scholar] [CrossRef]





| Channel | Center Wavelength (nm) | FWHM (nm) | Assigned Spectral Band | LED Excitation |
|---|---|---|---|---|
| Ch-1 | 450 | 40 | Vis | 5200 K LED |
| Ch-2 | 500 | 40 | Vis | 5200 K LED |
| Ch-3 | 550 | 40 | Vis | 5200 K LED |
| Ch-4 | 570 | 40 | Vis | 5200 K LED |
| Ch-5 | 600 | 40 | Vis | 5200 K LED |
| Ch-6 | 650 | 40 | Vis | 5200 K LED |
| Ch-7 | 610 | 20 | NIR | 2700 K LED |
| Ch-8 | 680 | 20 | NIR | 2700 K LED |
| Ch-9 | 730 | 20 | NIR | 2700 K LED |
| Ch-10 | 760 | 20 | NIR | 2700 K LED |
| Ch-11 | 810 | 20 | NIR | 2700 K LED |
| Ch-12 | 860 | 20 | NIR | 2700 K LED |
| Parameter | Preprocessing | (R2c) | RMSEC | (R2p) | RMSEP | RPD |
|---|---|---|---|---|---|---|
| Protein | Original | 0.952 | 0.4473 | 0.8732 | 1.189 | 2.8261 |
| Protein | S–G + SNV | 0.960 | 0.8223 | 0.908 | 1.0122 | 3.3207 |
| Fat | Original | 0.949 | 0.5536 | 0.776 | 1.0334 | 2.2178 |
| Fat | S–G + SNV | 0.892 | 0.7720 | 0.858 | 0.8223 | 2.6743 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 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.
Share and Cite
Sun, T.; Wu, H.; Liu, W.; Yang, R.; Zhang, H.; Lu, J.; Shen, J.; Zhang, R.; Xiao, X. Vis/NIR Based Flexible Non-Destructive Sensing for Almonds. Agriculture 2026, 16, 517. https://doi.org/10.3390/agriculture16050517
Sun T, Wu H, Liu W, Yang R, Zhang H, Lu J, Shen J, Zhang R, Xiao X. Vis/NIR Based Flexible Non-Destructive Sensing for Almonds. Agriculture. 2026; 16(5):517. https://doi.org/10.3390/agriculture16050517
Chicago/Turabian StyleSun, Tao, Han Wu, Wei Liu, Ruina Yang, Huimin Zhang, Ju Lu, Jian Shen, Ruihua Zhang, and Xinqing Xiao. 2026. "Vis/NIR Based Flexible Non-Destructive Sensing for Almonds" Agriculture 16, no. 5: 517. https://doi.org/10.3390/agriculture16050517
APA StyleSun, T., Wu, H., Liu, W., Yang, R., Zhang, H., Lu, J., Shen, J., Zhang, R., & Xiao, X. (2026). Vis/NIR Based Flexible Non-Destructive Sensing for Almonds. Agriculture, 16(5), 517. https://doi.org/10.3390/agriculture16050517

