Back to search

University of Manitoba

A data augmentation approach using style-based generative adversarial networks for date fruit classification

Abstract

dc:description.abstract

Hardness is important for ascertaining the quality of dried fruits such as dates. In the dates sorting facilities, hardness is determined by human visual inspection resulting in the high accuracy of the sorting process. However, this process is slow, tedious, subjective, and unhygienic. Machine learning techniques have been adopted in agricultural applications for automatic sorting processes and in some scenarios, a large amount of data may not be available for training Deep Learning classification models. Such is the case presented here for sorting dates based on their hardness. The original dataset in this work consists of 1800 images with 600 images per class for hard, semi-hard, and soft classes obtained from different growing regions in Oman. This is a limited number of examples available to improve the classification accuracy of deep learning classification networks. Thus, this thesis proposes data augmentation based on Generative Adversarial Networks (GAN) (StyleGAN2-ADA) for generating date images. It incorporates Residual Neural Networks (ResNet18) for date classification. The goal is to use the original dataset to further generate enough images so that ResNet18 can successfully classify them into their respective classes. As the original dataset can hardly be considered large, the GAN images help during the training part. Utilizing the new dataset from the GAN generation process achieved accuracies of 93%, 99% and 53% for the hard, soft and semi-hard classes by using an expert system in combination with two ResNet18 networks, one network trained for classifying hard and soft cases as well as a second network that classifies the three classes. By extension, texture features were extracted from the original and generated images and compared using a Kolmogorov-Smirnov test measuring the similarity of the probability density distributions of the extracted texture features. The similarity for hard, semi-hard and soft classes are 82.86%, 100% and 94.29% respectively. This step further validated the GAN generated images indicating that they were of merit.

Degree

thesis:*
Level thesis:degree_level
Master of Science (M.Sc.)
Discipline thesis:degree_discipline
Electrical and Computer Engineering
Year dc:date.issued
2022

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Ufuah, Donald
Advisor dc:contributor.supervisor
  • Thomas, Gabriel
Committee members dc:contributor.committeemember
  • Ashraf, Ahmed (Electrical and Computer Engineering)
  • Moussavi, Zahra (Electrical and Computer Engineering)
  • Annamalai, Manickavasagan (University of Guelph)

Subjects

dc:subject × 8

Rights

Language dc:language.iso
eng

Identifiers

dc:identifier.*
Handle dc:identifier.uri
http://hdl.handle.net/1993/36497

Chain of custody

source
Harvested from
University of Manitoba
Base URL
mspace.lib.umanitoba.ca/oai/request
Last updated
2026-11-19
Source record
OAI-PMH GetRecord
citation

Ufuah, Donald. A data augmentation approach using style-based generative adversarial networks for date fruit classification. Master of Science (M.Sc.) thesis, 2022. http://hdl.handle.net/1993/36497