Fruit quality and defect image classification with conditional GAN data augmentation

Bird, J.J. ORCID: 0000-0002-9858-1231, Barnes, C.M., Manso, L.J., Ekárt, A. and Faria, D.R., 2022. Fruit quality and defect image classification with conditional GAN data augmentation. Scientia Horticulturae, 293: 110684. ISSN 0304-4238

[img]
Preview
Text
1640778_Bird.pdf - Post-print

Download (2MB) | Preview

Abstract

Contemporary Artificial Intelligence technologies allow for the employment of Computer Vision to discern good crops from bad, providing a step in the pipeline of selecting healthy fruit from undesirable fruit, such as those which are mouldy or damaged. State-of-the-art works in the field report high accuracy results on small datasets (<1000 images), which are not representative of the population regarding real-world usage. The goals of this study are to further enable real-world usage by improving generalisation with data augmentation as well as to reduce overfitting and energy usage through model pruning. In this work, we suggest a machine learning pipeline that combines the ideas of fine-tuning, transfer learning, and generative model-based training data augmentation towards improving fruit quality image classification. A linear network topology search is performed to tune a VGG16 lemon quality classification model using a publicly-available dataset of 2690 images. We find that appending a 4096 neuron fully connected layer to the convolutional layers leads to an image classification accuracy of 83.77%. We then train a Conditional Generative Adversarial Network on the training data for 2000 epochs, and it learns to generate relatively realistic images. Grad-CAM analysis of the model trained on real photographs shows that the synthetic images can exhibit classifiable characteristics such as shape, mould, and gangrene. A higher image classification accuracy of 88.75% is then attained by augmenting the training with synthetic images, arguing that Conditional Generative Adversarial Networks have the ability to produce new data to alleviate issues of data scarcity. Finally, model pruning is performed via polynomial decay, where we find that the Conditional GAN-augmented classification network can retain 81.16% classification accuracy when compressed to 50% of its original size.

Item Type: Journal article
Publication Title: Scientia Horticulturae
Creators: Bird, J.J., Barnes, C.M., Manso, L.J., Ekárt, A. and Faria, D.R.
Publisher: Elsevier BV
Date: February 2022
Volume: 293
ISSN: 0304-4238
Identifiers:
NumberType
10.1016/j.scienta.2021.110684DOI
1640778Other
Divisions: Schools > School of Science and Technology
Record created by: Jeremy Silvester
Date Added: 27 Jan 2023 15:15
Last Modified: 01 Nov 2023 03:00
URI: https://irep.ntu.ac.uk/id/eprint/48097

Actions (login required)

Edit View Edit View

Views

Views per month over past year

Downloads

Downloads per month over past year