Next Article in Journal
The Potential of Chicken–Herb Essence to Improve Milk Production and Infant Health in the Sprague Dawley Animal Model
Next Article in Special Issue
Disambiguity and Alignment: An Effective Multi-Modal Alignment Method for Cross-Modal Recipe Retrieval
Previous Article in Journal
High-Performance Detection of Mycobacterium bovis in Milk Using Recombinase-Aided Amplification–Clustered Regularly Interspaced Short Palindromic Repeat–Cas13a–Lateral Flow Detection
Previous Article in Special Issue
Discrimination of New and Aged Seeds Based on On-Line Near-Infrared Spectroscopy Technology Combined with Machine Learning
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Exploration of Convective and Infrared Drying Effect on Image Texture Parameters of ‘Mejhoul’ and ‘Boufeggous’ Date Palm Fruit Using Machine Learning Models

Fruit and Vegetable Storage and Processing Department, The National Institute of Horticultural Research, Konstytucji 3 Maja 1/3, 96-100 Skierniewice, Poland
*
Author to whom correspondence should be addressed.
Foods 2024, 13(11), 1602; https://doi.org/10.3390/foods13111602
Submission received: 29 April 2024 / Revised: 15 May 2024 / Accepted: 18 May 2024 / Published: 21 May 2024
(This article belongs to the Special Issue Applications of Artificial Intelligence in Food Industry)

Abstract

:
Date palm (Phoenix dactylifera L.) fruit samples belonging to the ‘Mejhoul’ and ‘Boufeggous’ cultivars were harvested at the Tamar stage and used in our experiments. Before scanning, date samples were dried using convective drying at 60 °C and infrared drying at 60 °C with a frequency of 50 Hz, and then they were scanned. The scanning trials were performed for two hundred date palm fruit in fresh, convective-dried, and infrared-dried forms of each cultivar using a flatbed scanner. The image-texture parameters of date fruit were extracted from images converted to individual color channels in RGB, Lab, XYZ, and UVS color models. The models to classify fresh and dried samples were developed based on selected image textures using machine learning algorithms belonging to the groups of Bayes, Trees, Lazy, Functions, and Meta. For both the ‘Mejhoul’ and ‘Boufeggous’ cultivars, models built using Random Forest from the group of Trees turned out to be accurate and successful. The average classification accuracy for fresh, convective-dried, and infrared-dried ‘Mejhoul’ reached 99.33%, whereas fresh, convective-dried, and infrared-dried samples of ‘Boufeggous’ were distinguished with an average accuracy of 94.33%. In the case of both cultivars and each model, the higher correctness of discrimination was between fresh and infrared-dried samples, whereas the highest number of misclassified cases occurred between fresh and convective-dried fruit. Thus, the developed procedure may be considered an innovative approach to the non-destructive assessment of drying impact on the external quality characteristics of date palm fruit.

1. Introduction

Date palm (Phoenix dactylifera L.) is a very important fruit crop grown in many regions of the world, especially in hot and dry areas, and it is considered a promising tree for the irrigated dry zones of developing nations [1,2]. For many nations, date fruit is an essential subsistence food [1] and an important component of a healthy diet due to its functional properties as well as its high sugar content, flavonoids, anthocyanins, phenols, vitamins, minerals, and carotenoids [3]. Hence, the nutritional composition of date fruit differs according to several factors and can range from 44 to 88% for total sugar, 2.3–5.6% for protein, 6.4–11.5% for fibers, 0.2–0.5% for fat, and 0.2–0.5% for oil. Thus, both edible parts of date fruit and seeds can be used in food products as a rich source of biochemical and functional compounds such as antioxidants and fibers [1], especially at the Tamar stage.
At this complete stage of maturity, the fruit usually has a reduced moisture content of less than 20–25%, and it is considered appropriate for consumption in many regions and for storage under specific and mastered conditions [4,5]. However, some physiological and physical disorders can occur at this stage, mainly related to skin separation and sugar spots. These visual defects negatively impact the visual quality of the fruit and its market value [1]. Therefore, drying can provide shelf-life extension [6] and postpone the perishability and degeneration of date fruit.
Drying as a pretreatment, in association with efficient storage availability, ensures high-quality date fruit all year round in markets and in places where they are not produced [7]. By removing water, transport efficiency is increased by reducing the product volume as well as packaging costs. Besides this logistical improvement, moisture level, fruit sugars, and other biochemical compounds are more concentrated, allowing for more protection against deterioration factors, microorganism proliferation and growth, undesired chemical reactions, and high risk of deterioration during storage [8], leading to preservation of quality properties and shelf life extension. Moreover, date fruit may be dried using various methods, such as open sun drying, solar drying, hot air oven drying, vacuum drying, microwave drying, microwave vacuum drying, drum drying, or freeze drying [9].
The sun drying of date fruit has been the most common way throughout history. However, the process is challenging because of the inability to control drying parameters that may fluctuate drastically depending on climatic conditions. Furthermore, the sun drying process requires a long time while date fruit is under uncontrolled conditions of illumination and airflow, in addition to a possible source of contamination with insects, sand particles, soil, and dust. Thus, sun drying is not considered an effective method to apply for date fruit in the perspective of quality preservation and amelioration prior to further postharvest operations (e.g., storage). Consequently, other drying methods are more suitable for maintaining and improving the internal and external qualities of date fruit: homogenous skin color; adequate skin hardness; and high preservation of nutrient compounds [10,11,12,13]. One of the most common and effective methods is convective drying, which ensures a reduction in moisture content and quality preservation [14]. Also, infrared drying can be more beneficial compared with conventional drying due to rapid processing, shorter heating times, chemical compound preservation, and reduced risk of flavor loss [15]. Artificial intelligence and image analysis can be considered innovative and alternative approaches to assess the quality of date fruit before and after drying instead of tedious, time-consuming, and destructive analyses [5]. In doing so, machine vision enables the quantitative analysis of the quality of the qualitative criteria of the sample. Machine learning (ML) models can be successful in the classification of different samples of date fruit based on selected image parameters using several algorithms and models (e.g., traditional ML algorithms) [16]. Furthermore, image textures and determined geometric parameters using image analysis can be useful in the objective characterization of date fruit [17].
Considering the previous elements, the objective of this study was to compare the effect of convective and infrared drying on the quality of ‘Mejhoul’ and ‘Boufeggous’ date palm fruit in terms of external appearance. The assessment of the fruit quality was performed objectively and non-destructively using innovative artificial intelligence models developed based on selected image texture parameters.

2. Materials and Methods

2.1. Materials

Two well-known commercial cultivars of Moroccan date palm fruit, ‘Mejhoul’ and ‘Boufeggous’, were used in these experiments. Fruit samples were harvested at the Tamar stage in November 2023 in an orchard located at Henabou-Erfoud in southeastern Morocco (31°26′10″ N, 4°13′58″ W) and stored in cardboard boxes in a cold room at 2–4 °C until experiment starting. Before and after drying experiments, two hundred fruits of ‘Mejhoul’ and ‘Boufeggous’ without any visual defects were subjected to imaging.

2.2. Date Fruit Drying

Date fruit belonging to ‘Mejhoul’ and ‘Boufeggous’ cultivars were dried using a CONVECO semi-industrial dryer (CONVECO Sp. z o.o., Glinianka, Poland) equipped with a power supply cabinet, control cabinet, heat recovery (recuperation) units, and a ventilation duct system. For both convective and infrared drying, two technological repetitions were carried out, and the same temperature of 60 °C was used. For the infrared drying, the waving range was at a frequency of 10 min at a radiation distance of 170 mm with a radiation power of 50 Hz.

2.2.1. Convective Drying

For each technological repetition, date fruit samples were spread out in one layer into trays placed at different levels of the drying chamber rack (Figure 1). Each tray contained approximately 3–4 kg of ‘Mejhoul’ or ‘Boufeggous’ to provide a total amount of dried material of approximately 25–26 kg per cultivar and per technological repetition. This process was performed through hot air at a temperature of 60 °C, and the airflow side (right or left) was changed every 10 min. This process was carried out until reaching the desired weight loss and estimated water content (achieved in 240 min).

2.2.2. Infrared Drying

The surfaces of the date samples were heated using lamps (radiant heaters) located above trays with date fruit, with a distance (between lamps and fruit samples) of 17 cm (Figure 2). The infrared drying was performed at parameters of 60 °C and 50 Hz. The whole process lasted 150 min, and the date fruit was side-changed in the middle of the process so that the lower side of the fruit was on top and heated consequently by the lamps. The changing side of airflow (right or left) was every 10 min. As for convective drying, infrared drying was performed in two technological repetitions, and the airflow side (right or left) was changed every 10 min.

2.3. Image Analysis

The fresh, convective-dried, and infrared-dried date fruit were scanned using the Epson Perfection flatbed scanner (Epson, Suwa, Nagano, Japan) on a white background covered by a box and saved in TIFF format. Twenty fruits were in one image, and the scanning was performed for two hundred date palm fruit samples of ‘Mejhoul’ and ‘Boufeggous’ in fresh, convective-dried, and infrared-dried forms. Before image processing, the white background was changed to black to facilitate image segmentation and separation of fruit from the background, and images were saved in BMP format. Image processing, including image segmentation, ROI (region of interest) determination, and texture extraction, was performed using MaZda 4.7 software (Łódź University of Technology, Institute of Electronics, Łódź, Poland) [18,19,20]. The date fruit images were converted to individual color channels R, G, B, L, a, b, X, Y, Z, U, V, and S. Exemplary original color images and images in selected color channels of fresh, convective-dried, and infrared-dried date fruit of ‘Mejhoul’ and ‘Boufeggous’ are presented respectively in Figure 3 and Figure 4. The dried fruit samples were of better quality in terms of appearance and characterized by shinier skin, especially in the case of infrared-dried fruit. The image segmentation was performed based on the brightness threshold, and the lighter date fruit samples were separated from the black background. Each whole date fruit was treated as an ROI, and for each ROI, 2160 image textures were computed based on the run-length matrix, co-occurrence matrix, histogram, gradient map, and autoregressive model.

2.4. Mean Comparison of Selected Image Textures

Graphs of mean values of selected image textures and analysis of mean comparison were carried out using STATISTICA 3.1 (Dell Inc., Tulsa, OK, USA, StatSoft Polska, Kraków, Poland) software. The normality of the distribution was checked using Shapiro–Wilk, Lilliefors, and Kolmogorov–Smirnov tests. The means were compared using Tukey’s test at a significance level of p < 0.05.

2.5. Machine Learning Models for Distinguishing Fresh, Convective, and Infrared-Dried Date Fruit

The classification models were built based on selected image texture parameters of fresh and dried date fruit using WEKA 3.9 machine learning software (Machine Learning Group, University of Waikato, Hamilton, New Zealand) [21,22,23]. The image textures with the highest discriminative power were selected using the Best First and the correlation-based feature selection subset evaluator. The models for distinguishing fresh, convective, and infrared-dried date fruit were built using a 10-fold cross-validation mode by dividing the dataset into 10 parts and considering nine parts as the training sets and one part as the test set. This process was repeated 10 times for different training/test sets, and the result was the average of 10 estimates. The machine learning algorithms belonging to the groups of Bayes, Trees, Lazy, Functions, and Meta were tested to select algorithms that provided highly accurate results. The confusion matrices with accuracies for individual classes, average accuracies, and the values of True Positive Rate (TPR), False Positive Rate (FPR), Precision, Recall, F-Measure, Matthews Correlation Coefficient (MCC), Receiver Operating Characteristic Area (ROC Area), and Precision–Recall Area (PRC Area) (Equations (1)–(8)) [24,25,26,27] were determined.
A c c u r a c y = ( T P + T N ) T P + T N + F N + F P
T P R = R e c a l l = T P T P + F N
F P R = F P F P + T N
P r e c i s i o n = T P T P + F P
F M e a s u r e = 2 T P 2 T P + F P + F N
M C C = T P T N F P F N T P + F P T P + F N T N + F P T N + F N
R O C   A r e a   =   A r e a   U n d e r   T P R   v s .   F P R   C u r v e
P R C   A r e a = A r e a   U n d e r   P r e c i s i o n   v s .   R e c a l l   C u r v e
TP: True Positive; TN: True Negative; FP: False Positive; FN: False Negative

3. Results and Discussion

3.1. ‘Mejhoul’: Discrimination between Fresh, Convective, and Infrared Dried Fruit Based on Machine Learning Models and Selected Image Texture Parameters

The selected image texture parameters of fresh, convective-dried, and infrared-dried ‘Mejhoul’ date fruit samples were compared, and graphs of mean values are shown in Table 1. In the case of RHMean, when R was color channel R (red) from the RGB color space, and HMean was histogram’s mean, there was no significant difference (p > 0.05) between fresh and convective-dried fruit samples, and these samples were included in one homogenous group. For other analyzed image textures, such as GHMean, BHMean, LHMean, aHMean, bHMean, XHMean, YHMean, and ZHMean (the first letter means the color channel as follows: G (green) and B (blue) from the RGB color space; L (lightness component from black to white), a (red or green), and b (yellow or blue) from the Lab color space; and X (component with color information), Y (lightness), and Z (component with color information) from the XYZ color space, fresh, convective and infrared samples were significantly different.
Models developed based on selected texture parameters extracted from images in different color channels R, G, B, L, a, b, X, Y, Z, U, V, and S allowed for distinguishing fresh and dried ‘Mejhoul’ date fruit with very high correctness. The accuracy average of classification of fresh, convective-dried, and infrared-dried samples reached 99.33% for a model built using Random Forest (Table 2). However, slightly lower accuracies were obtained for models developed using IBk (99.25%), Multilayer Perceptron (98.67%), Logit Boost and Bayes Net (98.42%), and PART (97.83%). The higher differences occurred between fresh and infrared-dried ‘Mejhoul’ date fruit, whereas the greatest misclassification was observed between fresh and convective-dried fruit.
Other performance metrics, such as True Positive Rate (TPR), False Positive Rate (FPR), Precision, Recall, F-Measure, Matthews Correlation Coefficient (MCC), Receiver Operating Characteristic Area (ROC Area), and Precision–Recall Area (PRC Area) confirmed the highest correctness of the classification of infrared-dried ‘Mejhoul’ date fruit (Table 3). The greatest differentiation of infrared-dried fruit in terms of selected image textures from fresh and convective-dried samples was particularly visible in the case of the machine learning model built using Multilayer Perceptron. The values of TPR, Precision, Recall, F-Measure, MCC, ROC Area, and PRC Area were equal to 1.000, and FPR was 0.000. It confirmed that there was no mixing of cases between infrared-dried and other classes. In the case of each model, the lowest values of TPR, Recall, F-Measure, MCC, and ROC Area and the highest FPR were obtained for convective-dried ‘Mejhoul’ fruit. These results confirmed that convective-dried date fruit was classified with the lowest correctness.

3.2. ‘Boufeggous’: Discrimination between Fresh, Convective, and Infrared Dried Fruit Based on Machine Learning Models and Selected Texture Parameters

In the case of the ‘Boufeggous’ cultivar, the mean comparison of selected image texture parameters of fresh, convective-dried, and infrared-dried samples revealed the greatest similarity between fresh and convective-dried fruit. Among the nine image texture features analyzed for fresh and convective-dried ‘Boufeggous’ samples, only RHMean, GHMean, LHMean, and XHMean were in the same homogenous group with no statistically significant difference. Graphs of texture mean values are presented in Table 4.
For this date palm cultivar, classification accuracies were slightly lower (Table 5) than ‘Mejhoul’. The average accuracy of distinguishing fresh, convective-dried, and infrared-dried date fruit reached 94.33% for a model built using Random Forest, compared to 99.33% for ‘Mejhoul’. Nevertheless, the lowest average accuracy for analyzed models was observed for the IBk algorithm, and it was equal to 91.00%.
As was reported for ‘Mejhoul’, fresh and infrared-dried ‘Boufeggous’ date fruit were distinguished with the highest correctness. Thus, the highest number of misclassified cases was between fresh and convective-dried fruit. In the case of the model developed using IBk, 57 cases belonging to the actual class of convective-dried ‘Boufeggous’ fruit were misclassified as fresh samples, and 47 cases of fresh fruit were incorrectly classified as convective-dried fruit.
The classification values of TPR, FPR, Precision, Recall, F-Measure, MCC, ROC Area, and PRC Area of fresh, convective-dried, and infrared-dried ‘Boufeggous’ date fruit are presented in Table 6. The highest classification accuracy of infrared-dried date fruit was confirmed by the lowest FPR and the highest values of other metrics. The value of 1.000 was obtained in the case of ROC Area and PRC Area for a model built using Random Forest and ROC Area for a model developed using Bayes Net. The lowest FPR was found for a model built by Bayes Net.
The above-mentioned tables showed an important trend in the variation in the above-mentioned texture parameters that can be ranged into two different groups: group with high values for ID drying (aHMean and bHMean); and group with lower values for ID drying (GHMean, BHMean, LHMean, XHMean, YHMean, and ZHMean). Nevertheless, both groups are characterized by convective drying texture features comprising fresh and infrared values. This trend may reflect significant texture variation between fresh, convective, and infrared dried ‘Mejhoul’ date fruit with high differences between ID and fresh compared to CD and fresh fruit. For ‘Boufeggous’, these findings are applied only for the case of aHMean and YHMean features.
Regarding developed models, Random forest was the most accurate and predicting algorithm for both ‘Mejhoul’ and ‘Boufeggous’ while PART and lazy lBk were respectively the lower predicting models for ‘Mejhoul’ and ‘Boufeggous’. Such constatation was reported by [28] while comparing the effectiveness and accuracy of six algorithms used for orange (Citrus sinensis) classification. Among Logistic Regression, Naïve Bayes, Decision Trees, Neural Networks, K-nearest neighbors, and Random Forests models, authors found that Logistic Regression was more accurate and precise, with an accuracy of 91% and a precision score of 92%.
In another study related to cultivar date fruit classification, [29] employed algorithms developed on the basis of ANN and LR approaches to discriminate between seven date fruit cultivars. The lowest accuracies of 91 and 92.2% compared to the results of this paper were obtained for distinguishing color, shape, and pomological features extracted from images.
In relation to these findings and the scope of this study, the previous literature data considered mainly the application of destructive analysis (instead of non-destructive methods) to assess date fruit quality in terms of physicochemical properties under different experimental conditions and various postharvest treatments [30,31,32,33]. In this way, mathematical models were used in addition to “response surface methodology” to express the drying kinetics and behavior of date fruit [34,35,36,37,38] without considering machine learning approaches for the specific case of date fruit drying. Nevertheless, machine learning models were employed for other fruit species to determine and assess dried fruit quality. For example, Raihen and Akter [39] developed deep-learning models for the classification of dried grapefruit types. Sağlam and Çetin [40] applied machine learning models to estimate the drying characteristics of dried apple slices by employing artificial neural networks, k-nearest neighbors, random forests, etc. For the three apple cultivars, the highest correlation coefficients were about 0.98 for moisture ratio estimation using a Random Forest algorithm. The effectiveness and usefulness of machine learning models in rapid estimation of chemical properties of apples were also proven with five machine learning algorithms [41]. Also, machine learning algorithms were used to predict the sweetness of dried bananas using Linear Discriminant Analysis (LDA), K Nearest Neighbors (KNN), Decision Tree (CART), Random Forest (RF), and Support Vector Machines (SVM) models. Among these five algorithms, authors reported that RF and SVM allowed for a high prediction accuracy of 86% [42]. The above-mentioned studies stated the importance of using ML algorithms to predict and estimate the biochemical properties of dried fruit with high accuracy, and the results presented in this paper are comparable in terms of high accuracy. Our study presented in this paper revealed the usefulness of machine learning models in determining the external quality of dried date fruit. However, further research can be related to the estimation of the physicochemical properties of date fruit using image processing and artificial intelligence.

4. Conclusions

Through this work, the effect of mild convective and infrared drying techniques on the changes in the external quality of date fruit was revealed in a non-destructive and objective manner using a flatbed scanner. The developed machine learning models, using selected texture parameters from images in different color channels R, G, B, L, a, b, X, Y, Z, U, V, and S, classified accurately fresh, convective-dried, and infrared-dried ‘Mejhoul’ and ‘Boufeggous’ date palm fruit. Thus, samples were classified with high correctness of 99.33% and 94.33 for ‘Mejhoul’ and ‘Boufeggous’, respectively, using the Random Forest algorithm, which was more accurate than other machine learning models tested under this work. Furthermore, the usefulness of image features and models built using artificial intelligence was confirmed and proved the greater effect of infrared drying on the improvement in the external appearance of date fruit for both cultivars.
From this perspective, selected texture features from date fruit images can be used as inputs to develop more accurate models using traditional machine learning and deep-learning algorithms that link those externally extracted features with other internal quality parameters such as biochemical and nutritional compounds. Additionally, other innovative drying methods can be evaluated for other date fruit cultivars with a focus on the elucidation of machine learning approaches that added value to the total quality assessment.

Author Contributions

Conceptualization, E.R. and Y.N.; methodology, Y.N. and E.R.; software, E.R.; validation, E.R.; investigation, E.R. and Y.N.; writing—original draft preparation, E.R.; writing—review and editing, Y.N. and E.R.; project administration, Y.N.; funding acquisition, Y.N. All authors have read and agreed to the published version of the manuscript.

Funding

This research is part of project No. 2022/45/P/NZ9/03904, co-funded by the National Science Centre and the European Union’s Horizon 2020 research and innovation program under the Marie Skłodowska-Curie grant agreement no. 945339. Project title, “A novel approach to the assessment of date fruit quality (Phoenix dactylifera L.) under different storage conditions, using innovative models based on image analyses and machine learning” (M-LEARN4DATE).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The original contributions presented in the study are included in the article, further inquiries can be directed to the corresponding author.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Alsmairat, N.; Othman, Y.; Ayad, J.; Al-Ajlouni, M.; Sawwan, J.; El-Assi, N. Anatomical Assessment of Skin Separation in Date Palm (Phoenix dactylifera L. var. Mejhoul) Fruit during Maturation and Ripening Stages. Agriculture 2023, 13, 38. [Google Scholar] [CrossRef]
  2. Rakesh Reddy, S.V.; Singh, R.S.; Meena, R.; Berwal, M.K.; Sarolia, D.K.; Palpandian, P. Impact of Hot Water Pre-Treatments on the Drying Efficiency and Quality of Dates cv. Medjool. Horticulturae 2023, 9, 784. [Google Scholar] [CrossRef]
  3. Uchoi, J.; Nikhumbhe, P.H.; Kumar, A.; Patidar, A.; Harish, G.D. Impact of inclined solar drier for dehydration quality in khadrawy dates during doka maturity stage at north western arid India. Int. J. Curr. Microbiol. Appl. Sci. 2020, 9, 119–125. [Google Scholar] [CrossRef]
  4. Muñoz-Bas, C.; Muñoz-Tebar, N.; Candela-Salvador, L.; Pérez-Alvarez, J.A.; Lorenzo, J.M.; Viuda-Martos, M.; Fernández-López, J. Quality Characteristics of Fresh Date Palm Fruits of “Medjoul” and “Confitera” cv. from the Southeast of Spain (Elche Palm Grove). Foods 2023, 12, 2659. [Google Scholar] [CrossRef] [PubMed]
  5. Noutfia, Y.; Ropelewska, E. What can artificial intelligence approaches bring to an improved and efficient harvesting and postharvest handling of date fruit (Phoenix dactylifera L.)? A review. Postharvest Biol. Technol. 2024, 213, 112926. [Google Scholar] [CrossRef]
  6. Bassey, E.J.; Cheng, J.H.; Sun, D.W. Novel nonthermal and thermal pretreatments for enhancing drying performance and improving quality of fruits and vegetables. Trends Food Sci. Technol. 2021, 112, 137–148. [Google Scholar] [CrossRef]
  7. Alsmairat, N.; Al-Qudah, T.; El-Assi, N.; Mehyar, G.; Gammoh, I.; Othman, Y.; Araj, S.; Al-Antary, T. Effect of drying process on physical and chemical properties of ‘Medjool’ date palm fruits. Fresenius Environ. Bull. 2019, 28, 1552–1559. [Google Scholar]
  8. Özlem, E.; Yeliz, I. Modeling of drying processes of dates (Phoenix, Arecaceae) with oven or TGA and microbiological properties of fresh and dried dates. Int. J. Fruit Sci. 2020, 20, S1530–S1538. [Google Scholar]
  9. Elwakeel, A.E.; Tantawy, A.A.; Alsebiey, M.M.; Elliby, A.K. The date fruit drying systems: Acritical over review. Al-Azhar J. Agric. Eng. 2022, 3, 26–36. [Google Scholar] [CrossRef]
  10. Falade, K.O.; Abbo, E.S. Air-drying and rehydration characteristics of date palm (Phoenix dactylifera L.) fruits. J. Food Eng. 2007, 79, 724–730. [Google Scholar] [CrossRef]
  11. Shahdadi, F.; Mirzaei, H.O.; Daraei Garmakhany, A. Study of phenolic compound and antioxidant activity of date fruit as a function of ripening stages and drying process. J. Food Sci. Technol. 2015, 52, 1814–1819. [Google Scholar] [CrossRef] [PubMed]
  12. İzli, G. Total phenolics, antioxidant capacity, colour and drying characteristics of date fruit dried with different methods. Food Sci. Technol. 2016, 37, 139–147. [Google Scholar] [CrossRef]
  13. Noutfia, Y.; Benali, A.; Alem, C.; Zegzouti, Y.F. Design of a solar dryer for small-farm level use and studying fig quality. Acta Sci. Pol. Technol. Aliment. 2018, 17, 359–365. [Google Scholar] [CrossRef] [PubMed]
  14. Elghazali, M.N.; Tawfeuk, H.Z.; Gomaa, R.A.; Tantawy, A.A. Technological Studies on Aswan Dry Dates Products After Dehydration. Assiut J. Agric. Sci. 2020, 51, 32–49. [Google Scholar]
  15. Tireki, S. Effective diffusivity determination of date (Phoenix dactylifera L.) leather in infrared drying: Effect of cooking time. NOHU J. Eng. Sci. 2023, 12, 1558–1565. [Google Scholar] [CrossRef]
  16. Noutfia, Y.; Ropelewska, E. Innovative models built based on image textures using traditional machine learning algorithms for distinguishing different varieties of Moroccan date palm fruit (Phoenix dactylifera L.). Agriculture 2022, 13, 26. [Google Scholar] [CrossRef]
  17. Noutfia, Y.; Ropelewska, E. Comprehensive characterization of date palm fruit ‘Mejhoul’ (Phoenix dactylifera L.) using image analysis and quality attribute measurements. Agriculture 2022, 13, 74. [Google Scholar] [CrossRef]
  18. Szczypiński, P.M.; Strzelecki, M.; Materka, A. 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; pp. 245–249. [Google Scholar]
  19. Szczypiński, P.M.; Strzelecki, M.; Materka, A.; Klepaczko, A. MaZda—A software package for image texture analysis. Comput. Methods Programs Biomed. 2009, 94, 66–76. [Google Scholar] [CrossRef] [PubMed]
  20. Strzelecki, M.; Szczypiński, P.; Materka, A.; Klepaczko, A. A software tool for automatic classification and segmentation of 2D/3D medical images. Nucl. Instrum. Methods Phys. Res. Sect. A Accel. Spectrom. Detect. Assoc. Equip. 2013, 702, 137–140. [Google Scholar] [CrossRef]
  21. Witten, I.H.; Frank, E. Data Mining: Practical Machine Learning Tools and Techniques, 2nd ed.; Elsevier: San Francisco, CA, USA, 2005. [Google Scholar]
  22. Bouckaert, R.R.; Frank, E.; Hall, M.; Kirkby, R.; Reutemann, P.; Seewald, A.; Scuse, D. WEKA Manual for Version 3-9-1; University of Waikato: Hamilton, New Zealand, 2016. [Google Scholar]
  23. Frank, E.; Hall, M.A.; Witten, I.H. The WEKA Workbench. In Data Mining: Practical Machine Learning Tools and Techniques, 4th ed.; Online Appendix; Morgan Kaufmann: Burlington, MA, USA, 2016. [Google Scholar]
  24. Ropelewska, E. Diversity of Plum Stones Based on Image Texture Parameters and Machine Learning Algorithms. Agronomy 2022, 12, 762. [Google Scholar] [CrossRef]
  25. Sabanci, K.; Aslan, M.F.; Ropelewska, E.; Unlersen, M.F. A convolutional neural network-based comparative study for pepper seed classification: Analysis of selected deep features with support vector machine. J. Food Process Eng. 2022, 45, e13955. [Google Scholar] [CrossRef]
  26. Cinar, I.; Koklu, M. Classification of Rice Varieties Using Artificial Intelligence Methods. Int. J. Intell. Syst. Appl. Eng. 2019, 7, 188–194. [Google Scholar] [CrossRef]
  27. Ropelewska, E. Distinguishing lacto-fermented and fresh carrot slice images using the Multilayer Perceptron neural network and other machine learning algorithms from the groups of Functions, Meta, Trees, Lazy, Bayes and Rules. Eur Food Res Technol 2022, 248, 2421–2429. [Google Scholar] [CrossRef]
  28. Vaishnav, D.; Rao, B.R. Comparison of machine learning algorithms and fruit classification using orange data mining tool. In Proceedings of the 2018 3rd International Conference on Inventive Computation Technologies (ICICT), Coimbatore, India, 15–16 November 2018; pp. 603–607. [Google Scholar]
  29. Koklu, M.; Kursun, R.; Taspinar, Y.S.; Cinar, I. Classification of date fruits into genetic varieties using image analysis. Math. Probl. Eng. 2021, 2021, 4793293. [Google Scholar] [CrossRef]
  30. Ramadan, B.R.; EL-Rify, M.N.A.; Abd El-Hamid, A.A.; Abd El-Majeed, M.H. Effect of some treatments on chemical composition and quality properties of Saidy date fruit (Phoenix dactylifera L.) during storage. Assiut J. Agric. Sci. 2016, 47, 107–124. [Google Scholar]
  31. Tang, Z.X.; Shic, L.E.; Aleid, S.M. Date fruit: Chemical composition, nutritional and medicinal values, products. J. Sci. Food Agric. 2013, 93, 2351–2361. [Google Scholar] [CrossRef] [PubMed]
  32. Juhaimi, F.A.; Ghafoor, K.; Özcan, M.M. Physical and chemical properties, antioxidant activity, total phenol and mineral profile of seeds of seven different date fruit (Phoenix dactylifera L.) varieties. Int. J Food Sci. Nutr. 2012, 63, 84–89. [Google Scholar] [CrossRef] [PubMed]
  33. AL Juhaimi, F.; Ghafoor, K.; Özcan, M.M. Physicochemical properties and mineral contents of seven different date fruit (Phoenix dactylifera L.) varieties growing from Saudi Arabia. Environ. Monit. Assess. 2014, 186, 2165–2170. [Google Scholar] [CrossRef]
  34. Hadibi, T.; Mennouche, D.; Boubekri, A.; Arıcı, M.; Wang, Y.; Li, M.; Hassanien, R.H.E.; Shirkole, S.S. Experimental investigation, performance analysis, and optimization of hot air convective drying of date fruits via response surface methodology. Renew. Energy 2024, 226, 120404. [Google Scholar] [CrossRef]
  35. Sansaniwal, S.K.; Kumar, M.; Kumar Sahdev, R.; Bhutani, V.; Manchanda, H. Toward natural convection solar drying of date palm fruits (Phoenix dactylifera L.): An experimental study. Environ. Prog. Sustain. Energy 2022, 41, e13862. [Google Scholar] [CrossRef]
  36. Al-Awaadh, A.M.; Hassan, B.H.; Ahmed, K.M.A. Hot Air Drying Characteristics of Sukkari Date (Phoenix dactylifera L.) and Effects of Drying Condition on Fruit Color and Texture. Int. J. Food Eng. 2015, 11, 421–434. [Google Scholar] [CrossRef]
  37. Kumar, M.; Shimpy, M.; Sahdev, R.K.; Sansaniwal, S.K.; Bhutani, V.; Manchanda, H. Experimental forced convection greenhouse and indirect cabinet drying of date fruits: A comparative study. J. Therm. Anal. Calorim. 2023, 148, 5437–5454. [Google Scholar] [CrossRef]
  38. Boubekri, A.; Benmoussa, H.; Mennouche, D. Solar drying kinetics of date palm fruits assuming a step-wise air temperature change. J. Eng. Sci. Technol. 2009, 4, 292–304. [Google Scholar]
  39. Raihen, M.N.; Akter, S. Prediction modeling using deep learning for the classification of grape-type dried fruits. Int. J. Math. Comput. Eng. 2024, 2, 1–12. [Google Scholar] [CrossRef]
  40. Sağlam, C.; Çetin, N. Machine learning algorithms to estimate drying characteristics of apples slices dried with different methods. J. Food Process. Preserv. 2022, 46, e16496. [Google Scholar] [CrossRef]
  41. Çetin, N.; Sağlam, C. Rapid detection of total phenolics, antioxidant activity and ascorbic acid of dried apples by chemometric algorithms. Food Biosci. 2022, 47, 101670. [Google Scholar] [CrossRef]
  42. Al-Mashhadany, S.A.; Hasan, H.A.; Al-Sammarraie, M.A.J. Using Machine Learning Algorithms to Predict the Sweetness of Bananas at Different Drying Times. J. Ecol. Eng. 2024, 25, 231–238. [Google Scholar] [CrossRef]
Figure 1. Illustration of convective drying of ‘Mejhoul’ and ‘Boufeggous’.
Figure 1. Illustration of convective drying of ‘Mejhoul’ and ‘Boufeggous’.
Foods 13 01602 g001
Figure 2. Illustration of infrared drying of ‘Mejhoul’.
Figure 2. Illustration of infrared drying of ‘Mejhoul’.
Foods 13 01602 g002
Figure 3. Exemplary original color images and images in selected color channels of fresh, convective-dried (CD), and infrared-dried (ID) date fruit ‘Mejhoul’. B refers to blue, and L refers to lightness.
Figure 3. Exemplary original color images and images in selected color channels of fresh, convective-dried (CD), and infrared-dried (ID) date fruit ‘Mejhoul’. B refers to blue, and L refers to lightness.
Foods 13 01602 g003
Figure 4. Exemplary original color images and images in selected color channels of fresh, convective-dried, and infrared-dried date fruit ‘Boufeggous’. B refers to blue, and L refers to lightness.
Figure 4. Exemplary original color images and images in selected color channels of fresh, convective-dried, and infrared-dried date fruit ‘Boufeggous’. B refers to blue, and L refers to lightness.
Foods 13 01602 g004
Table 1. Mean values of selected image texture parameters of fresh, convective-dried, and infrared-dried ‘Mejhoul’ date fruit.
Table 1. Mean values of selected image texture parameters of fresh, convective-dried, and infrared-dried ‘Mejhoul’ date fruit.
Image Texture ParameterFresh ‘Mejhoul’Convective-Dried ‘Mejhoul’Infrared-Dried ‘Mejhoul’
RHMean70.35 a70.08 ab69.44 b
GHMean59.65 a57.44 b55.54 c
BHMean55.51 a53.45 b51.60 c
LHMean91.94 a90.28 b88.77 c
aHMean130.02 a130.79 b131.24 c
bHMean130.46 a130.73 b130.91 b
XHMean12.74 a12.41 b11.85 c
YHMean12.58 a12.08 b11.40 c
ZHMean10.56 a10.07 b9.30 c
Note. In the same row, means with different letters are significantly different (p < 0.05) according to Tukey HSD test.
Table 2. Distinguishing accuracies of fresh, convective, and infrared-dried ‘Mejhoul’ date fruit using machine learning models.
Table 2. Distinguishing accuracies of fresh, convective, and infrared-dried ‘Mejhoul’ date fruit using machine learning models.
AlgorithmPredicted Class (Number of Cases)Actual ClassAverage Accuracy (%)
Fresh ‘Mejhoul’Convective-Dried ‘Mejhoul’Infrared-Dried ‘Mejhoul’
trees
Random
Forest
40000Fresh ‘Mejhoul’99.33
63931Convective-dried ‘Mejhoul’
01399Infrared-dried ‘Mejhoul’
rules
PART
39910Fresh ‘Mejhoul’97.83
233761Convective-dried ‘Mejhoul’
01399Infrared-dried ‘Mejhoul’
meta
Logit
Boost
39460Fresh ‘Mejhoul’98.42
123871Convective-dried ‘Mejhoul’
00400Infrared-dried ‘Mejhoul’
lazy
IBk
40000Fresh ‘Mejhoul’99.25
83911Convective-dried ‘Mejhoul’
00400Infrared-dried ‘Mejhoul’
functions
Multilayer
Perceptron
39730Fresh ‘Mejhoul’98.67
133870Convective-dried ‘Mejhoul’
00400Infrared-dried ‘Mejhoul’
Bayes
Bayes
Net
39190Fresh ‘Mejhoul’98.42
93901Convective-dried ‘Mejhoul’
00400Infrared-dried ‘Mejhoul’
Table 3. Performance metrics of distinguishing fresh and dried date fruit ‘Mejhoul’ using machine learning models developed based on texture parameters.
Table 3. Performance metrics of distinguishing fresh and dried date fruit ‘Mejhoul’ using machine learning models developed based on texture parameters.
AlgorithmClassTPRFPRPrecisionRecallF-MeasureMCCROC AreaPRC Area
trees
Random
Forest
Fresh ‘Mejhoul’1.0000.0080.9851.0000.9930.9891.0001.000
Convective-dried ‘Mejhoul’0.9830.0010.9970.9830.9900.9850.9980.998
Infrared-dried ‘Mejhoul’0.9980.0010.9980.9980.9980.9961.0001.000
rules
PART
Fresh ‘Mejhoul’0.9980.0290.9450.9980.9710.9560.9850.939
Convective-dried ‘Mejhoul’0.9400.0030.9950.9400.9670.9510.9660.970
Infrared-dried ‘Mejhoul’0.9980.0010.9980.9980.9980.9960.9980.994
meta
Logit Boost
Fresh ‘Mejhoul’0.9850.0150.9700.9850.9780.9660.9990.998
Convective-dried ‘Mejhoul’0.9680.0080.9850.9680.9760.9640.9960.996
Infrared-dried ‘Mejhoul’1.0000.0010.9981.0000.9990.9980.9990.998
lazy
IBk
Fresh ‘Mejhoul’1.0000.0100.9801.0000.9900.9850.9910.966
Convective-dried ‘Mejhoul’0.9780.0001.0000.9780.9890.9830.9810.985
Infrared-dried ‘Mejhoul’1.0000.0010.9981.0000.9990.9980.9990.998
functions
Multilayer
Perceptron
Fresh ‘Mejhoul’0.9930.0160.9680.9930.9800.9700.9960.990
Convective-dried ‘Mejhoul’0.9680.0040.9920.9680.9800.9700.9920.974
Infrared-dried ‘Mejhoul’1.0000.0001.0001.0001.0001.0001.0001.000
Bayes
Bayes
Net
Fresh date fruit0.9780.0110.9780.9780.9780.9660.9990.998
Convective-dried date fruit0.9750.0110.9770.9750.9760.9640.9970.996
Infrared-dried date fruit1.0000.0010.9981.0000.9990.9980.9990.998
TPR—True Positive Rate; FPR—False Positive Rate; MCC—Matthews Correlation Coefficient; ROC Area—Receiver Operating Characteristic Area; PRC Area—Precision–Recall Area.
Table 4. Mean values of selected image texture parameters of fresh, convective-dried, and infrared-dried ‘Boufeggous’ date fruit.
Table 4. Mean values of selected image texture parameters of fresh, convective-dried, and infrared-dried ‘Boufeggous’ date fruit.
Image Texture ParameterFresh ‘Boufeggous’Convective-Dried
‘Boufeggous’
Infrared-Dried
‘Boufeggous’
RHMean65.32 a65.25 a63.70 b
GHMean56.54 a56.18 a53.20 b
BHMean49.58 a51.53 b48.22 c
LHMean88.10 a88.04 a85.40 b
aHMean129.06 a129.58 b130.07 c
bHMean131.64 a130.59 b131.01 c
XHMean11.56 a11.47 a10.81 b
YHMean11.61 a11.60 a10.74 b
ZHMean9.08 a9.72 b8.84 c
Note. In the same row, means with different letters are significantly different (p < 0.05) according to Tukey HSD test.
Table 5. Distinguishing accuracies of fresh, convective, and infrared dried ‘Boufeggous’ date fruit using machine learning models.
Table 5. Distinguishing accuracies of fresh, convective, and infrared dried ‘Boufeggous’ date fruit using machine learning models.
AlgorithmPredicted Class (Number of Cases)Actual ClassAverage Accuracy (%)
Fresh ‘Boufeggous’Convective-Dried ‘Boufeggous’Infrared-Dried ‘Boufeggous’
trees
Random
Forest
377221Fresh ‘Boufeggous’94.33
423562Convective-dried ‘Boufeggous’
01399Infrared-dried ‘Boufeggous’
rules
PART
361381Fresh ‘Boufeggous’92.25
483484Convective-dried ‘Boufeggous’
02398Infrared-dried ‘Boufeggous’
meta
Logit
Boost
367312Fresh ‘Boufeggous’94.25
353650Convective-dried ‘Boufeggous’
01399Infrared-dried ‘Boufeggous’
lazy
IBk
352471Fresh ‘Boufeggous’91.00
573421Convective-dried ‘Boufeggous’
11398Infrared-dried ‘Boufeggous’
functions
Multilayer
Perceptron
370264Fresh ‘Boufeggous’93.92
413590Convective-dried ‘Boufeggous’
11398Infrared-dried ‘Boufeggous’
Bayes
Bayes
Net
373261Fresh ‘Boufeggous’93.67
433570Convective-dried ‘Boufeggous’
15394Infrared-dried ‘Boufeggous’
Table 6. Performance metrics of distinguishing fresh and dried ‘Boufeggous’ date fruit using machine learning models developed based on texture parameters.
Table 6. Performance metrics of distinguishing fresh and dried ‘Boufeggous’ date fruit using machine learning models developed based on texture parameters.
AlgorithmClassTPRFPRPrecisionRecallF-MeasureMCCROC AreaPRC Area
trees
Random
Forest
Fresh ‘Boufeggous’0.9430.0530.9000.9430.9210.8800.9900.980
Convective-dried ‘Boufeggous’0.8900.0290.9390.8900.9140.8730.9900.980
Infrared-dried ‘Boufeggous’0.9980.0040.9930.9980.9950.9931.0001.000
rules
PART
Fresh ‘Boufeggous’0.9030.0600.8830.9030.8920.8380.9610.938
Convective-dried ‘Boufeggous’0.8700.0500.8970.8700.8830.8260.9670.927
Infrared-dried ‘Boufeggous’0.9950.0060.9880.9950.9910.9870.9950.984
meta
Logit
Boost
Fresh ‘Boufeggous’0.9180.0440.9130.9180.9150.8730.9880.975
Convective-dried ‘Boufeggous’0.9130.0400.9190.9130.9160.8740.9870.978
Infrared-dried ‘Boufeggous’0.9980.0030.9950.9980.9960.9940.9990.999
lazy
IBk
Fresh ‘Boufeggous’0.8800.0730.8590.8800.8690.8030.9050.800
Convective-dried ‘Boufeggous’0.8550.0600.8770.8550.8660.8000.8990.804
Infrared-dried ‘Boufeggous’0.9950.0030.9950.9950.9950.9930.9960.992
functions
Multilayer
Perceptron
Fresh ‘Boufeggous’0.9250.0530.8980.9250.9110.8660.9730.948
Convective-dried ‘Boufeggous’0.8980.0340.9300.8980.9130.8720.9790.963
Infrared-dried ‘Boufeggous’0.9950.0050.9900.9950.9930.9890.9980.995
Bayes
Bayes
Net
Fresh ‘Boufeggous’0.9330.0550.8940.9330.9130.8690.9820.964
Convective-dried ‘Boufeggous’0.8930.0390.9200.8930.9060.8600.9810.966
Infrared-dried ‘Boufeggous’0.9850.0010.9970.9850.9910.9871.0000.999
TPR—True Positive Rate; FPR—False Positive Rate; MCC—Matthews Correlation Coefficient; ROC Area—Receiver Operating Characteristic Area; PRC Area—Precision–Recall Area.
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.

Share and Cite

MDPI and ACS Style

Noutfia, Y.; Ropelewska, E. Exploration of Convective and Infrared Drying Effect on Image Texture Parameters of ‘Mejhoul’ and ‘Boufeggous’ Date Palm Fruit Using Machine Learning Models. Foods 2024, 13, 1602. https://doi.org/10.3390/foods13111602

AMA Style

Noutfia Y, Ropelewska E. Exploration of Convective and Infrared Drying Effect on Image Texture Parameters of ‘Mejhoul’ and ‘Boufeggous’ Date Palm Fruit Using Machine Learning Models. Foods. 2024; 13(11):1602. https://doi.org/10.3390/foods13111602

Chicago/Turabian Style

Noutfia, Younes, and Ewa Ropelewska. 2024. "Exploration of Convective and Infrared Drying Effect on Image Texture Parameters of ‘Mejhoul’ and ‘Boufeggous’ Date Palm Fruit Using Machine Learning Models" Foods 13, no. 11: 1602. https://doi.org/10.3390/foods13111602

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop