Abstract
The objective of this study was to evaluate the usefulness of image analysis and traditional machine learning algorithms for the discrimination of raspberry cultivars originating from organic and conventional cultivation systems. Images of the whole fruit of four raspberry cultivars: Polana, Polesie, Poemat, and Poranek, were acquired using a digital camera. Texture descriptors were extracted from images. The mean values of selected image features were compared, and the artificial intelligence models were developed. The mean comparison revealed significant differences in image texture descriptors among raspberry cultivars within both cultivation systems and between organic and conventional samples of the same cultivar. For cultivar discrimination of Polana, Polesie, Poemat, and Poranek in organically grown raspberries, the highest accuracy of 89.2% was achieved using the Subspace Discriminant classifier, followed by Quadratic Support Vector Machine (88.1%) and Wide Neural Network (86.0%). In conventionally cultivated raspberries, the highest accuracy of distinguishing cultivars reached 91.7% for the Linear Discriminant model, followed by Subspace Discriminant (91.3%) and Medium Neural Network (88.9%). All models were characterized by high area under the Receiver Operating Characteristic (ROC) curve (AUC) values, indicating excellent discrimination performance. Complete separation of organic and conventional raspberries for all analyzed cultivars with an accuracy of 100% was obtained. The results demonstrate that image texture analysis combined with traditional machine learning algorithms provides a rapid, objective, and non-destructive approach for raspberry cultivar identification and cultivation-system authentication. The proposed methodology shows considerable potential for applications in quality control, traceability, and verification of production practices in the raspberry industry.
References
- Anjos, R., Cosme, F., Gonçalves, A. et al. (2020) Effect of agricultural practices, conventional vs organic, on the phytochemical composition of ‘Kweli’ and ‘Tulameen’ raspberries (Rubus idaeus L.). Food Chem., 328, 126833. https://doi.org/10.1016/j.foodchem.2020.126833
- Bhargava, A., Bansal, A. (2021). Fruits and vegetables quality evaluation using computer vision: A review. J. King Saud Univ. Comp. Inf. Sci., 33(3), 243–257. https://doi.org/10.1016/j.jksuci.2018.06.002
- Bird, J.J., Barnes, C.M., Manso, L.J. et al. (2022). Fruit quality and defect image classification with conditional GAN data augmentation. Sci. Hort., 292, 110684. https://doi.org/10.1016/j.scienta.2021.110684
- De Nart, D., Gardiman, M., Alba, V. et al. (2024). Vine variety identification through leaf image classification: A large-scale study on the robustness of five deep learning models. J. Agric. Sci., 162(1), 19–32.
- Dudziak, A., Kocira, A. (2022). Preference-based determinants of consumer choice on the polish organic food market. Int. J. Environ. Res. Public Health, 19(17), 10895. https://doi.org/10.3390/ijerph191710895
- Frías-Moreno, M.N., Parra-Quezada, R.A., González-Aguilar, G. et al. (2021). Quality, bioactive compounds, antioxidant capacity, and enzymes of raspberries at different maturity stages, effects of organic vs. conventional fertilization. Foods, 10(5), 953. https://doi.org/10.3390/foods10050953
- Fu, Y., Sun, D.W. (2026). Advancing fruit quality monitoring with artificial intelligence-augmented non-destructive technologies. Food Eng. Rev., 18, 9.
- Kamilaris, A., Prenafeta-Boldú, F.X. (2018). Deep learning in agriculture: A survey. Comp. Electron. Agric., 147, 70–90. https://doi.org/10.1016/j.compag.2018.02.016
- Kazimierczak, R., Obidzińska, J., Szumigaj, B. et al. (2024). Sustainable foods: Consumer opinions and behaviour towards organic fruits in Poland. Sustainability, 16(9), 3740. https://doi.org/10.3390/su16093740
- Knott, M., Perez-Cruz, F., Defraeye, T. (2023). Facilitated machine learning for image-based fruit quality assessment. J. Food Eng., 345, 111401. https://doi.org/10.1016/j.jfoodeng.2022.111401
- Kotuła, M., Kapusta-Duch, J., Smoleń, S. et al. (2022). Phytochemical composition of the fruits and leaves of raspberries (Rubus idaeus L.) – conventional vs. organic and wild-grown. Appl. Sci., 12(22), 11783. https://doi.org/10.3390/app122211783
- Liakos, K.G., Busato, P., Moshou, D. et al. (2018). Machine learning in agriculture: A review. Sensors, 18(8), 2674. https://doi.org/10.3390/s18082674
- Lo Piccolo, E., Martinez Garcia, L. et al. (2020). Influences of postharvest storage and processing techniques on antioxidant and nutraceutical properties of Rubus idaeus L.: A mini-review. Horticulturae, 6(4), 105. https://doi.org/10.3390/horticulturae6040105
- Lopez-Corona, A.V., Valencia-Espinosa, I., González-Santiago, F.A. et al. (2022). Antioxidant, anti-inflammatory and cytotoxic activity of phenolic compound family extracted from raspberries (Rubus idaeus): A general review. Antioxidants, 11(6), 1192. https://doi.org/10.3390/antiox11061192
- Quintero Rincón, A., Mora, M., Naranjo-Torres, J. et al. (2022). Raspberries-LITRP database: RGB images database for the industrial applications of red raspberries’ automatic quality estimation. Applied Sciences, 12(22), 11586. https://doi.org/10.3390/app122211586
- Rodríguez-Pulido, F.J., Gil-Vicente, M., Gordillo, B. et al. (2017). Measurement of ripening of raspberries (Rubus idaeus L.) by near-infrared and colorimetric imaging techniques. J. Food Sci. Technol., 54, 2797–2803. https://doi.org/10.1007/s13197-017-2716-3
- Ropelewska, E. (2021). The application of image processing for cultivar discrimination of apples based on texture features of the skin, longitudinal section and cross-section. Eur. Food Res. Technol., 247, 1319–1331. https://doi.org/10.1007/s00217-021-03711-3
- Ropelewska, E., Cai, X., Zhang, Z. et al. (2022). Benchmarking machine learning approaches to evaluate the cultivar differentiation of plum (Prunus domestica L.) kernels. Agriculture, 12(2), 285. https://doi.org/10.3390/agriculture12020285
- Ropelewska, E., Rutkowski, K.P. (2023). The classification of peaches at different ripening stages using machine learning models based on texture parameters of flesh images. Agriculture, 13(2), 498. https://doi.org/10.3390/agriculture13020498
- Ropelewska, E. (2022). Diversity of plum stones based on image texture parameters and machine learning algorithms. Agronomy, 12(4), 762. https://doi.org/10.3390/agronomy12040762
- Ropelewska, E., Koniarski, M. (2025). A novel approach to authentication of highbush and lowbush blueberry cultivars using image analysis, traditional machine learning and deep learning algorithms. Eur. Food Res. Technol., 251, 193–204. https://doi.org/10.1007/s00217-024-04626-5
- Ropelewska, E., Masny, A. (2025). Nondestructive discrimination of advanced clones and cultivars of strawberry using an innovative approach involving image analysis and machine learning. Acta Sci. Pol. Hortorum Cultus, 24(2), 3–14. https://doi.org/10.24326/asphc.2025.5370
- Ropelewska, E., Szymajda, M. (2026). Application of artificial intelligence models for assessing cultivar diversity of plum tree (Prunus domestica L.) based on image features of leaves, flowers, fruit, and endocarps. Chemomet. Intell. Lab. Sys., 276, 105775. https://doi.org/10.1016/j.chemolab.2026.105775
- Ropelewska, E., Fawaz, S., Sepulcre, F. et al. (2026a). Scalable quality monitoring for sustainable food innovation using image-based machine learning: A case study on algae- and hydrocolloid-enriched potato purée. Algal Res., 96, 104734. https://doi.org/10.1016/j.algal.2026.104734
- Ropelewska, E., de Morais, E.G., Uggetti, E. et al. (2026b). Microalgae-enriched biscuit discrimination using image texture features and Artificial Intelligence (AI) algorithms. Algal Res., 95, 104627. https://doi.org/10.1016/j.algal.2026.104627
- Sangiorgio, D., Cellini, A., Spinelli, F. et al. (2021). Does organic farming increase raspberry quality, aroma and beneficial bacterial biodiversity? Microorganisms, 9(8), 1617. https://doi.org/10.3390/microorganisms9081617.
- Sarigu, M., Grillo, O., Bianco, M.L. et al. (2017). Phenotypic identification of plum varieties (Prunus domestica L.) by endocarps morpho-colorimetric and textural descriptors. Comput. Electron. Agric., 136, 25–30. https://doi.org/10.1016/j.compag.2017.02.009
- Strzelecki, M., Szczypiński, P., Materka, A. et al. (2013). A software tool for automatic classification and segmentation of 2D/3D medical images. Nucl. Instrum. Methods Phys. Res. Sect. A Accel. Spectrometers Detect. Assoc. Equip., 702, 137–140. https://doi.org/10.1016/j.nima.2012.09.006
- Szczypiński, P.M., Strzelecki, M., Materka, A. (2007). Mazda-A software for texture analysis. In: Proceedings of the 2007 International Symposium on Information Technology Convergence (ISITC 2007), Jeonju, Republic of Korea, 23–24 November 2007, 245–249
- Szczypiński, P.M., Strzelecki, M., Materka, A. et al. (2009). MaZda – A software package for image texture analysis. Comput. Methods Programs Biomed., 94(1), 66–76. https://doi.org/10.1016/j.cmpb.2008.08.005
- Šulc, M., Matas, J. (2017). Fine-grained recognition of plants from images. Plant Methods, 13, 115. https://doi.org/10.1186/s13007-017-0265-4
- Titirică, I., Roman, I.A., Nicola, C. et al. (2023). The main morphological characteristics and chemical components of fruits and the possibilities of their improvement in raspberry breeding. Horticulturae, 9(1), 50. https://doi.org/10.3390/horticulturae9010050
- Wang, Y., Zhang, Y., Yuan, Y. et al. (2022). Nutrient content prediction and geographical origin identification of red raspberry fruits by combining hyperspectral imaging with chemometrics. Front. Nutr., 9, 980095. https://doi.org/10.3389/fnut.2022.980095
- Yamamoto, K., Ninomiya, S., Kimura, Y. et al. (2015). Strawberry cultivar identification and quality evaluation on the basis of multiple fruit appearance features. Comput. Electron. Agric., 110, 233–240. https://doi.org/10.1016/j.compag.2014.11.018
Downloads
Download data is not yet available.