A Lightweight Deep Learning-Based Model for Tomato Leaf Disease Classification

Naeem Ullah, Javed Ali Khan, Sultan Almakdi, Mohammed S. Alshehri, Mimonah Al Qathrady, Eman Abdullah Aldakheel, Doaa Sami Khafaga

Research output: Contribution to journalArticlepeer-review


Tomato leaf diseases significantly impact crop production, necessitating early detection for sustainable farming. Deep Learning (DL) has recently shown excellent results in identifying and classifying tomato leaf diseases. However, current DL methods often require substantial computational resources, hindering their application on resource-constrained devices. We propose the Deep Tomato Detection Network (DTomatoDNet), a lightweight DL-based framework comprising 19 learnable layers for efficient tomato leaf disease classification to overcome this. The Convn kernels used in the proposed (DTomatoDNet) framework is 1 × 1, which reduces the number of parameters and helps in more detailed and descriptive feature extraction for classification. The proposed DTomatoDNet model is trained from scratch to determine the classification success rate. 10,000 tomato leaf images (1000 images per class) from the publicly accessible dataset, covering one healthy category and nine disease categories, are utilized in training the proposed DTomatoDNet approach. More specifically, we classified tomato leaf images into Target Spot (TS), Early Blight (EB), Late Blight (LB), Bacterial Spot (BS), Leaf Mold (LM), Tomato Yellow Leaf Curl Virus (YLCV), Septoria Leaf Spot (SLS), Spider Mites (SM), Tomato Mosaic Virus (MV), and Tomato Healthy (H). The proposed DTomatoDNet approach obtains a classification accuracy of 99.34%, demonstrating excellent accuracy in differentiating between tomato diseases. The model could be used on mobile platforms because it is lightweight and designed with fewer layers. Tomato farmers can utilize the proposed DTomatoDNet methodology to detect disease more quickly and easily once it has been integrated into mobile platforms by developing a mobile application.

Original languageEnglish
Article number041819
Pages (from-to)3969-3992
Number of pages24
JournalComputers, Materials & Continua
Issue number3
Early online date26 Dec 2023
Publication statusE-pub ahead of print - 26 Dec 2023


  • CNN
  • deep learning
  • DTomatoDNet
  • smart agriculture
  • tomato leaf disease classification


Dive into the research topics of 'A Lightweight Deep Learning-Based Model for Tomato Leaf Disease Classification'. Together they form a unique fingerprint.

Cite this