Open Access iconOpen Access



Improving Date Fruit Classification Using CycleGAN-Generated Dataset

Dina M. Ibrahim1,2,*, Nada M. Elshennawy2

1 Department of Information Technology, College of Computer, Qassim University, Buraydah, 51452, Saudi Arabia
2 Computers and Control Engineering Department, Faculty of Engineering, Tanta University, Tanta, 37133, Egypt

* Corresponding Authors: Dina M. Ibrahim. Emails: email, email

(This article belongs to the Special Issue: New Trends in Statistical Computing and Data Science)

Computer Modeling in Engineering & Sciences 2022, 131(1), 331-348.


Dates are an important part of human nutrition. Dates are high in essential nutrients and provide a number of health benefits. Date fruits are also known to protect against a number of diseases, including cancer and heart disease. Date fruits have several sizes, colors, tastes, and values. There are a lot of challenges facing the date producers. One of the most significant challenges is the classification and sorting of dates. But there is no public dataset for date fruits, which is a major limitation in order to improve the performance of convolutional neural networks (CNN) models and avoid the overfitting problem. In this paper, an augmented date fruits dataset was developed using Deep Convolutional Generative Adversarial Networks (DCGAN) and CycleGAN approach to augment our collected date fruit datasets. This augmentation is required to address the issue of a restricted number of images in our datasets, as well as to establish a balanced dataset. There are three types of dates in our proposed dataset: Sukkari, Ajwa, and Suggai. After dataset augmentation, we train our created dataset using ResNet152V2 and CNN models to assess the classification process for our three categories in the dataset. To train these two models, we start with the original dataset. Thereafter, the models were trained using the DCGAN-generated dataset, followed by the CycleGAN-generated dataset. The resulting results demonstrated that when using the ResNet152V2 model, the CycleGAN-generated dataset had the highest classification performance with 96.8% accuracy, followed by the CNN model with 94.3% accuracy.


Cite This Article

APA Style
Ibrahim, D.M., Elshennawy, N.M. (2022). Improving date fruit classification using cyclegan-generated dataset. Computer Modeling in Engineering & Sciences, 131(1), 331-348.
Vancouver Style
Ibrahim DM, Elshennawy NM. Improving date fruit classification using cyclegan-generated dataset. Comput Model Eng Sci. 2022;131(1):331-348
IEEE Style
D.M. Ibrahim and N.M. Elshennawy, "Improving Date Fruit Classification Using CycleGAN-Generated Dataset," Comput. Model. Eng. Sci., vol. 131, no. 1, pp. 331-348. 2022.

cc This work is licensed under a Creative Commons Attribution 4.0 International License , which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
  • 2393


  • 1436


  • 0


Share Link