Back to Search Start Over

DPXception: a lightweight CNN for image-based date palm species classification.

Authors :
Safran M
Alrajhi W
Alfarhood S
Source :
Frontiers in plant science [Front Plant Sci] 2024 Jan 09; Vol. 14, pp. 1281724. Date of Electronic Publication: 2024 Jan 09 (Print Publication: 2023).
Publication Year :
2024

Abstract

Introduction: Date palm species classification is important for various agricultural and economic purposes, but it is challenging to perform based on images of date palms alone. Existing methods rely on fruit characteristics, which may not be always visible or present. In this study, we introduce a new dataset and a new model for image-based date palm species classification.<br />Methods: Our dataset consists of 2358 images of four common and valuable date palm species (Barhi, Sukkari, Ikhlas, and Saqi), which we collected ourselves. We also applied data augmentation techniques to increase the size and diversity of our dataset. Our model, called DPXception (Date Palm Xception), is a lightweight and efficient CNN architecture that we trained and fine-tuned on our dataset. Unlike the original Xception model, our DPXception model utilizes only the first 100 layers of the Xception model for feature extraction (Adapted Xception), making it more lightweight and efficient. We also applied normalization prior to adapted Xception and reduced the model dimensionality by adding an extra global average pooling layer after feature extraction by adapted Xception.<br />Results and Discussion: We compared the performance of our model with seven well-known models: Xception, ResNet50, ResNet50V2, InceptionV3, DenseNet201, EfficientNetB4, and EfficientNetV2-S. Our model achieved the highest accuracy (92.9%) and F1-score (93%) among the models, as well as the lowest inference time (0.0513 seconds). We also developed an Android smartphone application that uses our model to classify date palm species from images captured by the smartphone's camera in real time. To the best of our knowledge, this is the first work to provide a public dataset of date palm images and to demonstrate a robust and practical image-based date palm species classification method. This work will open new research directions for more advanced date palm analysis tasks such as gender classification and age estimation.<br />Competing Interests: The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.<br /> (Copyright © 2024 Safran, Alrajhi and Alfarhood.)

Details

Language :
English
ISSN :
1664-462X
Volume :
14
Database :
MEDLINE
Journal :
Frontiers in plant science
Publication Type :
Academic Journal
Accession number :
38264016
Full Text :
https://doi.org/10.3389/fpls.2023.1281724