<?xml version="1.0" encoding="UTF-8"?><article xml:lang="en" article-type="data-paper"><front><journal-meta><journal-id journal-id-type="pmc-domain-id">2750</journal-id><journal-id journal-id-type="pmc-domain">dib</journal-id><journal-title-group><journal-title>Data in Brief</journal-title><abbrev-journal-title>Data Brief</abbrev-journal-title></journal-title-group><publisher><publisher-name>Elsevier</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="pmcid">PMC12361613</article-id><article-id pub-id-type="pmcaid">12361613</article-id><article-id pub-id-type="pmcaiid">12361613</article-id><article-id pub-id-type="pmid">40837485</article-id><article-id pub-id-type="doi">10.1016/j.dib.2025.111945</article-id><title-group><article-title>AI-MedLeafX: a large-scale computer vision dataset for medicinal plant diagnosis</article-title></title-group><contrib-group content-type="author"><contrib><name name-style="western"><surname>Ferdous</surname><given-names initials="MF">Md Fahim</given-names></name><xref ref-type="aff" rid="aff0001">1</xref></contrib><contrib><name name-style="western"><surname>Nissan</surname><given-names initials="FBK">Faysal Bin Khaled</given-names></name><xref ref-type="aff" rid="aff0001">1</xref></contrib><contrib><name name-style="western"><surname>Nibir</surname><given-names initials="NM">Nur Muhammad</given-names></name><xref ref-type="aff" rid="aff0001">1</xref></contrib><contrib><name name-style="western"><surname>Bijoy</surname><given-names initials="MHI">Md Hasan Imam</given-names></name><xref ref-type="aff" rid="aff0001">1</xref><xref rid="cor0001" ref-type="author-notes">⁎</xref></contrib></contrib-group><aff id="aff0001"><label>1</label>Department of Computer Science and Engineering, Daffodil International University, Dhaka 1216, Bangladesh</aff><author-notes><fn id="cor0001"><label>⁎</label><p>Corresponding author. <email>hasan15-11743@diu.edu.bd</email></p></fn></author-notes><pub-date><day>5</day><month>8</month><year>2025</year></pub-date><volume>62</volume><fpage>111945</fpage><page-range>111945</page-range><pub-history><event event-type="pmc-release"><date><day>20</day><month>8</month><year>2025</year></date></event></pub-history><permissions><copyright-statement>© 2025 The Author(s)</copyright-statement><license><license-p>This is an open access article under the CC BY-NC license (http://creativecommons.org/licenses/by-nc/4.0/).</license-p></license></permissions><self-uri xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="main.pdf" content-type="pmc-pdf"><?cloudpmc-path 4ae4/12361613/8735117c15e9/main.pdf?><?cloudpmc-bucket app?><?size 1991076?></self-uri><abstract id="abs0001"><title>Abstract</title><p>This study presents a large, meticulously curated and manually validated dataset aimed at classifying leaf quality into five critical categories: Healthy, Bacterial Spot, Shot Hole, Yellow, and Powdery Mildew. The dataset encompasses four distinct plant species—Cinnamomum Camphora (Camphor), Terminalia Chebula (Haritaki), Moringa Oleifera (Sojina), and Azadirachta Indica (Neem)—each represented across three or four disease categories, depending on observed symptoms and final number of classes is thirteen (13 classes). Data collection was conducted between November 1, 2024, and January 5, 2025, utilizing four different mobile cameras to ensure diversity in image resolution, lighting, and environmental conditions. The original dataset comprised 10,858 high-resolution images, which were subsequently expanded to 65,148 through the application of six comprehensive data augmentation techniques, including rotations (45°, 60°, and 90°), horizontal flipping, zooming and brightness adjustment. All images were standardized to 512×512 pixels to ensure uniformity and seamless compatibility with machine learning and computer vision models. This enriched dataset serves as a crucial resource for the development of automated plant disease detection systems and supports advancements in precision agriculture. It not only addresses the pressing need for scalable, high-quality data in agricultural research but also establishes a solid foundation for benchmarking novel deep learning architectures. By enabling more accurate and efficient leaf disease classification, the dataset contributes significantly to enhancing tree health monitoring, improving crop yield, and promoting sustainable agricultural practices.</p><sec id="keys0001" sec-type="kwd-group" disp-level="2"><p><bold>Keywords:</bold> Medicinal leaf dataset, Medicinal leaf classification, Agriculture informatics, Machine learning, Computer vision, Agriculture</p></sec></abstract><custom-meta-group><custom-meta><meta-name>status</meta-name><meta-value>released</meta-value></custom-meta><custom-meta><meta-name>display-pdf</meta-name><meta-value>yes</meta-value></custom-meta><custom-meta><meta-name>is-olf</meta-name><meta-value>no</meta-value></custom-meta><custom-meta><meta-name>is-manuscript</meta-name><meta-value>no</meta-value></custom-meta><custom-meta><meta-name>is-preprint</meta-name><meta-value>no</meta-value></custom-meta><custom-meta><meta-name>is-journal-matter</meta-name><meta-value>no</meta-value></custom-meta><custom-meta><meta-name>is-scanned</meta-name><meta-value>no</meta-value></custom-meta><custom-meta><meta-name>is-retracted</meta-name><meta-value>no</meta-value></custom-meta></custom-meta-group></article-meta><notes notes-type="article-notes"><sec id="historyarticle-meta1" sec-type="history" disp-level="2"><p>Received 2025 May 9; Revised 2025 Jul 4; Accepted 2025 Jul 25; Collection date 2025 Oct.</p></sec></notes></front><body><p id="para0002">Specifications Table</p><table-wrap id="utbl0001" position="float"><table frame="hsides" rules="groups"><tbody><tr><td valign="top" colspan="1" rowspan="1">Subject</td><td valign="top" colspan="1" rowspan="1">Computer Sciences</td></tr><tr><td valign="top" colspan="1" rowspan="1">Specific subject area</td><td valign="top" colspan="1" rowspan="1">Image Classification, Image Identification, Machine Learning, Deep Learning, and Computer Vision</td></tr><tr><td valign="top" colspan="1" rowspan="1">Type of data</td><td valign="top" colspan="1" rowspan="1">Image (.JPG)</td></tr><tr><td valign="top" colspan="1" rowspan="1">Data collection</td><td valign="top" colspan="1" rowspan="1">The leaf image dataset was collected at the National Botanical Garden of Bangladesh located in Mirpur-2, Dhaka, Bangladesh using multiple mobile cameras to ensure variability in image quality, resolution, and environmental lighting conditions. The collected samples include leaves from four plant species and are categorized into five distinct classes: Healthy, Bacterial Spot, Shot Hole, Powdery Mildew, and Yellow Leaf. Healthy leaf samples were directly plucked from trees to ensure their condition, while diseased leaves were collected and classified based on visible symptoms captured in the images. Each sample was carefully inspected and labeled through visual verification to ensure high annotation accuracy and class consistency. This rigorous data acquisition and labeling process established a robust and reliable dataset, suitable for training and evaluating machine learning models in leaf disease classification tasks and future agricultural research applications<italic>.</italic></td></tr><tr><td valign="top" colspan="1" rowspan="1">Data source location</td><td valign="top" colspan="1" rowspan="1">National Botanical Garden, Mirpur-2, Dhaka – 1216<break/>Latitude: 23.8121° N<break/>Longitude: 90.3531° E<break/>Zone: Dhaka<break/>Country: Bangladesh</td></tr><tr><td valign="top" colspan="1" rowspan="1">Data accessibility</td><td valign="top" colspan="1" rowspan="1">Repository name: Mendeley Data<break/>Data identification number: <ext-link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="https://doi.org/10.17632/zz7r5y4dc6.1" ext-link-type="uri">10.17632/zz7r5y4dc6.1</ext-link><break/>Direct URL to data: https://data.mendeley.com/datasets/zz7r5y4dc6/1<break/>The dataset is published under the Creative Commons Attribution 4.0 International (CC BY 4.0) license.</td></tr><tr><td valign="top" colspan="1" rowspan="1">Related research article</td><td valign="top" colspan="1" rowspan="1">None</td></tr></tbody></table></table-wrap><sec id="sec0002" disp-level="1"><label>1.</label><title>Value of the Data</title>
<list list-type="label" id="celist0001"><list-item id="celistitem0001"><label>•</label><p id="para0003">This is a unique and complete dataset of images from different categories, including healthy, bacterial spot, shot hole, powdery mildew, and yellow leaf. This dataset allows for the development of machine learning and deep learning models that can assist in plant quality control, leaf classification, as well as disease diagnosis, especially in cases where chemical contamination is at risk.</p></list-item><list-item id="celistitem0002"><label>•</label><p id="para0004">The dataset contains 10,858 original images and increased to 65,148. To improve the diversity of this dataset, six augmentation techniques are applied, including rotation, flipping, zooming, and brightness adjustment. Diversity assures robustness; hence, it is highly suitable for training advanced computer vision models. This dataset also consists of more leaf classes than any other dataset available in the literature [<xref rid="bib0001" ref-type="bibr">[1]</xref>, <xref rid="bib0002" ref-type="bibr">[2]</xref>, <xref rid="bib0003" ref-type="bibr">[3]</xref>]; therefore, it can detect more leaf types and achieve higher model performance.</p></list-item><list-item id="celistitem0003"><label>•</label><p id="para0005">This dataset can be applied to broader research areas, such as computer vision, disease analysis, and medical informatics. Its versatility makes it a valuable resource for training and benchmarking algorithms across diverse fields, including object recognition, spoilage detection, and contamination analysis.</p></list-item><list-item id="celistitem0004"><label>•</label><p id="para0006">It also includes the raw images of five commonly available leaves in Bangladesh, captured from different angles to maintain variability. This dataset can be used to compare, test, and improve models due to the large number of images, amounting to 65,148 in total. The inclusion of diseases will not only help medical research but also facilitate the development of techniques by researchers for differentiating between healthy and disease-treated leaves, even when the human eye cannot differentiate.</p></list-item><list-item id="celistitem0005"><label>•</label><p id="para0007">This dataset includes medicinal leaves and thus provides an opportunity to develop advanced systems for identification and analysis related to plant-based remedies. This dataset allows researchers to devise algorithms that detect minute differences in leaf morphology, which opens new avenues in plant-based drug discovery. Additionally, the identification of diseases in medicinal leaves is helpful for quality control so that plant-derived medicines maintain their standards for safety and efficacy.</p></list-item></list>
</sec><sec id="sec0003" disp-level="1"><label>1.</label><title>Background</title><p id="para0008">Leaf diseases represent a significant challenge to the health and productivity of medicinal plants, which are vital to both traditional healing practices and modern pharmaceutical development. These plants serve as primary sources of bioactive compounds used in a wide range of therapeutic formulations. However, their susceptibility to foliar diseases such as bacterial spot, shot hole, powdery mildew, and yellow leaf can lead to considerable reductions in yield and a decline in the quality of medicinal compounds. Timely detection and accurate identification of these diseases are essential for limiting their impact, preserving the therapeutic value of the plants, and ensuring sustainable cultivation practices.</p><p id="para0009">To address this pressing need, a comprehensive image dataset was created by systematically collecting leaf images from selected medicinal plant species—Cinnamomum Camphora (Camphor), Terminalia Chebula (Haritaki), Moringa Oleifera (Sojina), and Azadirachta Indica (Neem)—at the Botanical Garden in Mirpur-2, Dhaka, Bangladesh. Images were captured using multiple mobile cameras to introduce variation in angle, lighting, and environmental conditions, thereby enhancing dataset diversity and robustness. Each leaf sample was labeled under one of five categories: healthy, bacterial spot, shot hole, powdery mildew, or yellow leaf. To further strengthen the dataset for use in machine learning and deep learning applications, six augmentation techniques were employed, increasing both the quantity and variability of images. This dataset supports the advancement of automated systems for disease detection and classification in medicinal plants, contributing to improved health monitoring, reduced pesticide use, enhanced yield, and more sustainable agricultural practices across the medicinal plant supply chain. To locate AI-MedLeafX in terms of its novelty, we compared it with existing datasets such as BDMediLeaves [<xref rid="bib0001" ref-type="bibr">1</xref>], Indian Medicinal Leaves Dataset [<xref rid="bib0002" ref-type="bibr">2</xref>], and Medicinal Leaf Dataset [<xref rid="bib0003" ref-type="bibr">3</xref>]. Unlike existing datasets, AI-MedLeafX comprises significantly &gt;13 classes and of high resolution (65,148 in total), includes expert-crafted annotations, solves both healthy and multiple disease classes, and considers four heterogeneous medicinal species. This makes it more relevant to deep learning tasks in the detection of plant diseases and makes it a more robust and generalizable benchmark for follow-up research.</p></sec><sec id="sec0004" disp-level="1"><label>2.</label><title>Data Description</title><p id="para0010">This dataset offers a comprehensive and well-structured compilation of leaf images from four medicinal plant species native to Bangladesh: Cinnamomum Camphora (Camphor), Terminalia Chebula (Haritaki), Moringa Oleifera (Sojina), and Azadirachta Indica (Neem). Renowned for their longstanding use in traditional medicine, these plants contribute significantly to the country’s natural and therapeutic heritage and continue to serve as key sources of bioactive compounds in both traditional and modern pharmacological applications. Recognizing their medicinal importance and the adverse impact of leaf diseases on their therapeutic potential, this dataset was designed to support early disease detection and classification using computer vision and deep learning technologies.</p><p id="para0011">The dataset comprises a total of 10,858 original images, systematically collected over a two-month period from November 01, 2024, to January 05, 2025, at the National Botanical Garden in Mirpur, Dhaka, Bangladesh (see <xref rid="fig0001" ref-type="fig">Fig. 1</xref>). To ensure diversity in quality, perspective, and lighting conditions, four different mobile cameras were used during data acquisition. Each image was categorized into one of five distinct health conditions: healthy, bacterial spot, shot hole, powdery mildew, and yellow leaf.</p><fig id="fig0001" position="float"><?disp-level 2?><label>Fig. 1</label><caption><p>The National Botanical Garden where the dataset images were captured.</p></caption><alt-text>Fig 1</alt-text><alternatives><graphic xmlns:xlink="http://www.w3.org/1999/xlink" content-type="image" id="celink0001" xlink:href="gr1.jpg"><?cloudpmc-path blobs/4ae4/12361613/eb961146c4b6/gr1.jpg?><?cloudpmc-bucket cdn?><?image-server-status LOAD_COMPLETED?><?original-height 1072?><?original-width 1675?><?scaled-height 429?><?scaled-width 670?></graphic><graphic xmlns:xlink="http://www.w3.org/1999/xlink" content-type="thumb" xlink:href="gr1.gif"><?cloudpmc-path blobs/4ae4/12361613/55ea09b5dcf4/gr1.gif?><?cloudpmc-bucket cdn?></graphic></alternatives></fig><p id="para0012">To enhance the dataset’s robustness and increase its applicability for machine learning tasks, six data augmentation techniques—including image rotation, flipping, brightness adjustment, and zooming—were applied. This process expanded the dataset to a total of 65,148 images, all resized uniformly to 512×512 pixels to maintain consistency during model training and evaluation. <xref rid="tbl0001" ref-type="table">Table 1</xref> presents the image distribution across the original and augmented sets for each disease class, while <xref rid="tbl0002" ref-type="table">Table 2</xref> provides detailed descriptions of the morphological and botanical characteristics of each leaf type.</p><table-wrap id="tbl0001" position="float"><?disp-level 2?><label>Table 1</label><caption><p>Category-wise data distribution with augmentation technique<italic>.</italic></p></caption><alt-text>Table 1</alt-text><table frame="hsides" rules="groups"><thead><tr><th valign="top" colspan="1" rowspan="1">Category</th><th valign="top" colspan="1" rowspan="1">Number of original images</th><th valign="top" colspan="1" rowspan="1">Number of augmented images</th></tr></thead><tbody><tr><td valign="top" colspan="1" rowspan="1">Cinnamomum Camphora Healthy Leaf</td><td valign="top" colspan="1" rowspan="1">800</td><td valign="top" colspan="1" rowspan="1">4800</td></tr><tr><td valign="top" colspan="1" rowspan="1">Cinnamomum Camphora Bacterial Spot</td><td valign="top" colspan="1" rowspan="1">801</td><td valign="top" colspan="1" rowspan="1">4806</td></tr><tr><td valign="top" colspan="1" rowspan="1">Cinnamomum Camphora Shot Hole</td><td valign="top" colspan="1" rowspan="1">795</td><td valign="top" colspan="1" rowspan="1">4770</td></tr><tr><td valign="top" colspan="1" rowspan="1">Terminalia Chebula Bacterial Spot</td><td valign="top" colspan="1" rowspan="1">803</td><td valign="top" colspan="1" rowspan="1">4818</td></tr><tr><td valign="top" colspan="1" rowspan="1">Terminalia Chebula Healthy Leaf</td><td valign="top" colspan="1" rowspan="1">816</td><td valign="top" colspan="1" rowspan="1">4896</td></tr><tr><td valign="top" colspan="1" rowspan="1">Terminalia Chebula Shot Hole</td><td valign="top" colspan="1" rowspan="1">802</td><td valign="top" colspan="1" rowspan="1">4812</td></tr><tr><td valign="top" colspan="1" rowspan="1">Moringa Oleifera Healthy Leaf</td><td valign="top" colspan="1" rowspan="1">860</td><td valign="top" colspan="1" rowspan="1">5160</td></tr><tr><td valign="top" colspan="1" rowspan="1">Moringa Oleifera Bacterial Spot</td><td valign="top" colspan="1" rowspan="1">804</td><td valign="top" colspan="1" rowspan="1">4824</td></tr><tr><td valign="top" colspan="1" rowspan="1">Moringa Oleifera Yellow Leaf</td><td valign="top" colspan="1" rowspan="1">814</td><td valign="top" colspan="1" rowspan="1">4884</td></tr><tr><td valign="top" colspan="1" rowspan="1">Azadirachta Indica Healthy Leaf</td><td valign="top" colspan="1" rowspan="1">1021</td><td valign="top" colspan="1" rowspan="1">6126</td></tr><tr><td valign="top" colspan="1" rowspan="1">Azadirachta Indica Shot Hole</td><td valign="top" colspan="1" rowspan="1">834</td><td valign="top" colspan="1" rowspan="1">5004</td></tr><tr><td valign="top" colspan="1" rowspan="1">Azadirachta Indica Powdery Mildew</td><td valign="top" colspan="1" rowspan="1">854</td><td valign="top" colspan="1" rowspan="1">5124</td></tr><tr><td valign="top" colspan="1" rowspan="1">Azadirachta Indica Yellow Leaf</td><td valign="top" colspan="1" rowspan="1">854</td><td valign="top" colspan="1" rowspan="1">5124</td></tr><tr><td valign="top" colspan="1" rowspan="1">Total</td><td valign="top" colspan="1" rowspan="1">10,858</td><td valign="top" colspan="1" rowspan="1">65,148</td></tr></tbody></table></table-wrap><table-wrap id="tbl0002" position="float"><?disp-level 2?><label>Table 2</label><caption><p>Class-wise data description with visualization<italic>.</italic></p></caption><alt-text>Table 2</alt-text><table frame="hsides" rules="groups"><thead><tr><th valign="top" colspan="1" rowspan="1">Class Name</th><th valign="top" colspan="1" rowspan="1">Description</th><th valign="top" colspan="1" rowspan="1">Visualization</th></tr></thead><tbody><tr><td valign="top" colspan="1" rowspan="1">Cinnamomum Camphora Healthy Leaf</td><td valign="top" colspan="1" rowspan="1"><bold>Color:</bold> Dark green and glossy on the upper side, lighter green underneath.<break/><bold>Texture:</bold> Leathery, firm, and smooth.<break/><bold>Shape:</bold> Oval or elliptical with a pointed tip.<break/><bold>Aroma:</bold> Strong camphor scent when crushed.<break/><bold>Growth:</bold> Arranged alternately along branches with prominent veins.</td><td valign="top" colspan="1" rowspan="1"><graphic xmlns:xlink="http://www.w3.org/1999/xlink" content-type="image" id="celink0006" xlink:href="fx1.gif"><?cloudpmc-path blobs/4ae4/12361613/fd4273161a09/fx1.gif?><?cloudpmc-bucket cdn?><?image-server-status NEVER_LOAD?><?scaled-height 111?><?scaled-width 100?><alt-text>Image, table 2</alt-text></graphic></td></tr><tr><td valign="top" colspan="1" rowspan="1">Cinnamomum Camphora Bacterial Spot</td><td valign="top" colspan="1" rowspan="1"><bold>Symptoms:</bold><break/>• Water-soaked, dark brown to black spots on leaves.<break/>• Yellow halos around lesions.<break/>• Severe infection may cause leaf drops and dieback.<break/><bold>Causes:</bold> Caused by <italic>Xanthomonas</italic> bacteria, usually due to high humidity and poor air circulation.</td><td valign="top" colspan="1" rowspan="1"><graphic xmlns:xlink="http://www.w3.org/1999/xlink" content-type="image" id="celink0007" xlink:href="fx2.gif"><?cloudpmc-path blobs/4ae4/12361613/74a356915524/fx2.gif?><?cloudpmc-bucket cdn?><?image-server-status NEVER_LOAD?><?scaled-height 117?><?scaled-width 100?><alt-text>Image, table 2</alt-text></graphic></td></tr><tr><td valign="top" colspan="1" rowspan="1">Cinnamomum Camphora Shot Hole</td><td valign="top" colspan="1" rowspan="1"><bold>Symptoms:</bold><break/>Small, reddish-brown spots that later fall out, leaving round holes (shot hole appearance).<break/>It can result in a tattered leaf appearance.<break/>Occurs are due to fungal pathogens like <italic>Wilsonomyces Carpophilus</italic> or bacterial infections.<break/><bold>Causes:</bold> Fungal spores spread by wind and rain, often in warm, moist conditions.</td><td valign="top" colspan="1" rowspan="1"><graphic xmlns:xlink="http://www.w3.org/1999/xlink" content-type="image" id="celink0008" xlink:href="fx3.gif"><?cloudpmc-path blobs/4ae4/12361613/6515c4d51d6f/fx3.gif?><?cloudpmc-bucket cdn?><?image-server-status NEVER_LOAD?><?scaled-height 114?><?scaled-width 100?><alt-text>Image, table 2</alt-text></graphic></td></tr><tr><td valign="top" colspan="1" rowspan="1">Terminalia Chebula Healthy Leaf</td><td valign="top" colspan="1" rowspan="1"><bold>Color:</bold> Dark green and glossy.<break/><bold>Shape:</bold> Oval to oblong with a pointed tip.<break/><bold>Texture:</bold> Smooth with prominent veins.<break/><bold>Size:</bold> Typically, 7–18 cm long.<break/><bold>Arrangement:</bold> Alternately arranged along the branches.<break/><bold>Aroma:</bold> Mild and slightly herbal.<break/><bold>Growth:</bold> Healthy leaves appear vibrant without any discoloration or damage.</td><td valign="top" colspan="1" rowspan="1"><graphic xmlns:xlink="http://www.w3.org/1999/xlink" content-type="image" id="celink0009" xlink:href="fx4.gif"><?cloudpmc-path blobs/4ae4/12361613/d565b0c51b7e/fx4.gif?><?cloudpmc-bucket cdn?><?image-server-status NEVER_LOAD?><?scaled-height 105?><?scaled-width 100?><alt-text>Image, table 2</alt-text></graphic></td></tr><tr><td valign="top" colspan="1" rowspan="1">Terminalia Chebula Bacterial Spot</td><td valign="top" colspan="1" rowspan="1"><bold>Symptoms:</bold><break/>• Small, water-soaked spots that turn dark brown or black.<break/>• Yellow halos around spots.<break/>• Premature leaves drop in severe cases.<break/><bold>Causes:</bold> Bacteria like <italic>Xanthomonas</italic> species, usually triggered by high humidity.</td><td valign="top" colspan="1" rowspan="1"><graphic xmlns:xlink="http://www.w3.org/1999/xlink" content-type="image" id="celink0010" xlink:href="fx5.gif"><?cloudpmc-path blobs/4ae4/12361613/6154a2e068a7/fx5.gif?><?cloudpmc-bucket cdn?><?image-server-status NEVER_LOAD?><?scaled-height 109?><?scaled-width 100?><alt-text>Image, table 2</alt-text></graphic></td></tr><tr><td valign="top" colspan="1" rowspan="1">Terminalia Chebula Shot Hole</td><td valign="top" colspan="1" rowspan="1"><bold>Symptoms:</bold><break/>Circular brown spots that dry out and fall, leaving small holes.<break/>A tattered appearance on leaves.<break/>May lead to stunted growth if severe.<break/><bold>Causes:</bold> Fungal pathogens such as <italic>Wilsonomyces Carpophilus</italic><break/>or bacterial infections.</td><td valign="top" colspan="1" rowspan="1"><graphic xmlns:xlink="http://www.w3.org/1999/xlink" content-type="image" id="celink0011" xlink:href="fx6.gif"><?cloudpmc-path blobs/4ae4/12361613/8de2ddca79fc/fx6.gif?><?cloudpmc-bucket cdn?><?image-server-status NEVER_LOAD?><?scaled-height 107?><?scaled-width 100?><alt-text>Image, table 2</alt-text></graphic></td></tr><tr><td valign="top" colspan="1" rowspan="1">Moringa Oleifera<break/>Healthy Leaf</td><td valign="top" colspan="1" rowspan="1"><bold>Color:</bold> Bright green and vibrant.<break/><bold>Shape:</bold> Small, oval, and arranged in a tripinnate pattern (compound leaves).<break/><bold>Texture:</bold> Smooth and tender.<break/><bold>Growth:</bold> Leaves should be evenly distributed, without curling or wilting.<break/><bold>Aroma:</bold> Mild, slightly peppery scent when crushed.</td><td valign="top" colspan="1" rowspan="1"><graphic xmlns:xlink="http://www.w3.org/1999/xlink" content-type="image" id="celink0012" xlink:href="fx7.gif"><?cloudpmc-path blobs/4ae4/12361613/fdad390e967b/fx7.gif?><?cloudpmc-bucket cdn?><?image-server-status NEVER_LOAD?><?scaled-height 119?><?scaled-width 100?><alt-text>Image, table 2</alt-text></graphic></td></tr><tr><td valign="top" colspan="1" rowspan="1">Moringa Oleifera Bacterial Spot</td><td valign="top" colspan="1" rowspan="1"><bold>Symptoms:</bold><break/>• Water-soaked dark brown or black spots on the leaves.<break/>• Yellow halos around the spots.<break/>• Severe infection can lead to leaves yellowing and drop.<break/><bold>Causes:</bold> Caused by <italic>Xanthomonas</italic> bacteria, usually due to high humidity and poor air circulation.</td><td valign="top" colspan="1" rowspan="1"><graphic xmlns:xlink="http://www.w3.org/1999/xlink" content-type="image" id="celink0013" xlink:href="fx8.gif"><?cloudpmc-path blobs/4ae4/12361613/1701be8d9ae9/fx8.gif?><?cloudpmc-bucket cdn?><?image-server-status NEVER_LOAD?><?scaled-height 110?><?scaled-width 100?><alt-text>Image, table 2</alt-text></graphic></td></tr><tr><td valign="top" colspan="1" rowspan="1">Moringa Oleifera Yellow Leaf</td><td valign="top" colspan="1" rowspan="1"><bold>Symptoms:</bold><break/>• Entire leaves turning yellow, starting from the older ones (Nitrogen deficiency).<break/>• Yellowing between veins, with leaf edges remaining green (Iron or Magnesium deficiency).<break/><bold>Causes:</bold><break/>Poor soil nutrition, lack of essential minerals (Nitrogen, Iron, Magnesium).</td><td valign="top" colspan="1" rowspan="1"><graphic xmlns:xlink="http://www.w3.org/1999/xlink" content-type="image" id="celink0014" xlink:href="fx9.gif"><?cloudpmc-path blobs/4ae4/12361613/bd86fec85823/fx9.gif?><?cloudpmc-bucket cdn?><?image-server-status NEVER_LOAD?><?scaled-height 115?><?scaled-width 100?><alt-text>Image, table 2</alt-text></graphic></td></tr><tr><td valign="top" colspan="1" rowspan="1">Azadirachta Indica Healthy Leaf</td><td valign="top" colspan="1" rowspan="1"><bold>Color:</bold> Dark green with a glossy surface.<break/><bold>Shape:</bold> Lanceolate (narrow and pointed) with serrated edges.<break/><bold>Texture:</bold> Firm and slightly leathery.<break/><bold>Growth:</bold> Arranged alternately with a compound structure (8–18 leaflets per leaf).<break/><bold>Aroma:</bold> A distinct bitter scent when crushed.<break/><bold>Signs of Healthy Growth:</bold> Uniform color, no curling, and steady new growth.</td><td valign="top" colspan="1" rowspan="1"><graphic xmlns:xlink="http://www.w3.org/1999/xlink" content-type="image" id="celink0015" xlink:href="fx10.gif"><?cloudpmc-path blobs/4ae4/12361613/0b035281b048/fx10.gif?><?cloudpmc-bucket cdn?><?image-server-status NEVER_LOAD?><?scaled-height 117?><?scaled-width 100?><alt-text>Image, table 2</alt-text></graphic></td></tr><tr><td valign="top" colspan="1" rowspan="1">Azadirachta Indica Shot Hole</td><td valign="top" colspan="1" rowspan="1"><bold>Symptoms:</bold><break/>• Small, circular brown spots that eventually fall out, leaving “shot holes”.<break/>• Weakened leaves with a ragged appearance.<break/>• It can spread to new growth if untreated.<break/><bold>Causes:</bold> Fungal pathogens like <italic>Wilsonomyces Carpophilus</italic> or bacterial infections.</td><td valign="top" colspan="1" rowspan="1"><graphic xmlns:xlink="http://www.w3.org/1999/xlink" content-type="image" id="celink0016" xlink:href="fx11.gif"><?cloudpmc-path blobs/4ae4/12361613/9ad8634e299d/fx11.gif?><?cloudpmc-bucket cdn?><?image-server-status NEVER_LOAD?><?scaled-height 112?><?scaled-width 100?><alt-text>Image, table 2</alt-text></graphic></td></tr><tr><td valign="top" colspan="1" rowspan="1">Azadirachta Indica Powdery Mildew</td><td valign="top" colspan="1" rowspan="1"><bold>Symptoms:</bold><break/>• White, powdery coated on leaves and twigs.<break/>• Leaf curling and distortion.<break/>• Reduced growth and vigor.<break/><bold>Causes:</bold> Fungal infection thriving in humid conditions with poor airflow.</td><td valign="top" colspan="1" rowspan="1"><graphic xmlns:xlink="http://www.w3.org/1999/xlink" content-type="image" id="celink0017" xlink:href="fx12.gif"><?cloudpmc-path blobs/4ae4/12361613/ffcd1681bd02/fx12.gif?><?cloudpmc-bucket cdn?><?image-server-status NEVER_LOAD?><?scaled-height 130?><?scaled-width 100?><alt-text>Image, table 2</alt-text></graphic></td></tr><tr><td valign="top" colspan="1" rowspan="1">Azadirachta Indica Yellow Leaf</td><td valign="top" colspan="1" rowspan="1"><bold>Symptoms:</bold><list list-type="label" id="celist0002"><list-item id="celistitem0006"><label>•</label><p id="para0014">Yellowing of leaves, starting from older leaves.</p></list-item><list-item id="celistitem0007"><label>•</label><p id="para0015">Wilting or drooping of branches.</p></list-item><list-item id="celistitem0008"><label>•</label><p id="para0016">Overall decline in tree growth and vigor.</p></list-item></list><bold>Causes:</bold> Nutrient deficiency, particularly nitrogen or iron deficiency.</td><td valign="top" colspan="1" rowspan="1"><graphic xmlns:xlink="http://www.w3.org/1999/xlink" content-type="image" id="celink0018" xlink:href="fx13.gif"><?cloudpmc-path blobs/4ae4/12361613/f76e23c983bd/fx13.gif?><?cloudpmc-bucket cdn?><?image-server-status NEVER_LOAD?><?scaled-height 121?><?scaled-width 100?><alt-text>Image, table 2</alt-text></graphic></td></tr></tbody></table></table-wrap><sec id="sec0005" disp-level="2"><label>2.1.</label><title>Explanation of class labeling</title><p id="para0013">Each of the 13 final class names in the dataset is a diagnosed disease state (or healthy state), not merely observable symptoms. Examples include Healthy, Bacterial Spot, Shot Hole, Yellow Leaf, and Powdery Mildew. The “Yellow Leaf” category is based on nutrient deficiency diseases (e.g., iron or nitrogen deficiency) diagnosed by tissue symptom patterns and expert interpretation. The name “Powdery Mildew” is used to describe a fungus disease, confirmed by direct expert inspection. Visual cues (e.g., coloration, lesions) were used in early-stage classification, with final class determination relying on validation by farm experts.</p><p id="para0017"><xref rid="tbl0003" ref-type="table">Table 3</xref> summarizes the key parameters recorded during the image acquisition process, including class, date, location, temperature, weather conditions, and the devices used. Images of the four selected medicinal plant species were captured between November 01, 2024, and January 05, 2025, primarily at the National Botanical Garden in Mirpur, Dhaka, Bangladesh. The temperature during collection varied between 22 °C to 33 °C, while weather conditions ranged from sunny to cloudy, ensuring a wide range of natural lighting scenarios. To introduce diversity in resolution and perspective, images were captured using four different mobile devices. These factors collectively contribute to the dataset’s robustness, making it suitable for training machine learning models under varied real-world conditions.</p><table-wrap id="tbl0003" position="float"><?disp-level 3?><label>Table 3</label><caption><p>Image collection details (Date, Location, Temperature, Weather and Devices).</p></caption><alt-text>Table 3</alt-text><table frame="hsides" rules="groups"><thead><tr><th valign="top" colspan="1" rowspan="1">Class</th><th valign="top" colspan="1" rowspan="1">Date</th><th valign="top" colspan="1" rowspan="1">Location</th><th valign="top" colspan="1" rowspan="1">Temperature</th><th valign="top" colspan="1" rowspan="1">Weather</th><th valign="top" colspan="1" rowspan="1">Devices</th></tr></thead><tbody><tr><td valign="top" colspan="1" rowspan="1">Cinnamomum Camphora Healthy Leaf</td><td valign="top" colspan="1" rowspan="1">01 November, 2024</td><td valign="top" colspan="1" rowspan="1">Botanical Garden, Dhaka</td><td valign="top" colspan="1" rowspan="1">31°C</td><td valign="top" colspan="1" rowspan="1">Sunny</td><td valign="top" colspan="1" rowspan="1">Vivo V27 (40%)<break/>Samsung Galaxy A13 (30%)<break/>iQOO Neo 9 (30%)</td></tr><tr><td valign="top" colspan="1" rowspan="1">Cinnamomum Camphora Bacterial Spot</td><td valign="top" colspan="1" rowspan="1">09 November, 2024</td><td valign="top" colspan="1" rowspan="1">Botanical Garden, Dhaka</td><td valign="top" colspan="1" rowspan="1">30°C</td><td valign="top" colspan="1" rowspan="1">Sunny</td><td valign="top" colspan="1" rowspan="1">Vivo V27 (50%)<break/>Samsung Galaxy A13 (40%)<break/>iQOO Neo 9 (10%)</td></tr><tr><td valign="top" colspan="1" rowspan="1">Cinnamomum Camphora Shot Hole</td><td valign="top" colspan="1" rowspan="1">14 November, 2024</td><td valign="top" colspan="1" rowspan="1">Botanical Garden, Dhaka</td><td valign="top" colspan="1" rowspan="1">31°C</td><td valign="top" colspan="1" rowspan="1">Sunny</td><td valign="top" colspan="1" rowspan="1">Vivo V27 (50%)<break/>Samsung Galaxy A13 (50%)</td></tr><tr><td valign="top" colspan="1" rowspan="1">Terminalia Chebula Healthy Leaf</td><td valign="top" colspan="1" rowspan="1">18 November, 2024</td><td valign="top" colspan="1" rowspan="1">Botanical Garden, Dhaka</td><td valign="top" colspan="1" rowspan="1">28°C</td><td valign="top" colspan="1" rowspan="1">Sunny</td><td valign="top" colspan="1" rowspan="1">Vivo V27 (50%)<break/>Samsung Galaxy A13 (50%)</td></tr><tr><td valign="top" colspan="1" rowspan="1">Terminalia Chebula Bacterial Spot</td><td valign="top" colspan="1" rowspan="1">23 November, 2024</td><td valign="top" colspan="1" rowspan="1">Botanical Garden, Dhaka</td><td valign="top" colspan="1" rowspan="1">24°C</td><td valign="top" colspan="1" rowspan="1">Foggy</td><td valign="top" colspan="1" rowspan="1">Vivo V27 (60%)<break/>Samsung Galaxy A13 (40%)</td></tr><tr><td valign="top" colspan="1" rowspan="1">Terminalia Chebula Shot Hole</td><td valign="top" colspan="1" rowspan="1">29 November, 2024</td><td valign="top" colspan="1" rowspan="1">Botanical Garden, Dhaka</td><td valign="top" colspan="1" rowspan="1">29°C</td><td valign="top" colspan="1" rowspan="1">Sunny</td><td valign="top" colspan="1" rowspan="1">Vivo V27 (40%)<break/>Samsung Galaxy A13 (60%)</td></tr><tr><td valign="top" colspan="1" rowspan="1">Moringa Oleifera Healthy Leaf</td><td valign="top" colspan="1" rowspan="1">04 December, 2024</td><td valign="top" colspan="1" rowspan="1">Botanical Garden, Dhaka</td><td valign="top" colspan="1" rowspan="1">25°C</td><td valign="top" colspan="1" rowspan="1">Foggy</td><td valign="top" colspan="1" rowspan="1">iPhone 12 Pro Max (60%)<break/>iQOO Neo 9(40%)</td></tr><tr><td valign="top" colspan="1" rowspan="1">Moringa Oleifera Bacterial Spot</td><td valign="top" colspan="1" rowspan="1">10 December, 2024</td><td valign="top" colspan="1" rowspan="1">Botanical Garden, Dhaka</td><td valign="top" colspan="1" rowspan="1">33°C</td><td valign="top" colspan="1" rowspan="1">Sunny</td><td valign="top" colspan="1" rowspan="1">iPhone 12 Pro Max (90%)<break/>iQOO Neo 9(10%)</td></tr><tr><td valign="top" colspan="1" rowspan="1">Moringa Oleifera Yellow Leaf</td><td valign="top" colspan="1" rowspan="1">14 December, 2024</td><td valign="top" colspan="1" rowspan="1">Botanical Garden, Dhaka</td><td valign="top" colspan="1" rowspan="1">25°C</td><td valign="top" colspan="1" rowspan="1">Foggy</td><td valign="top" colspan="1" rowspan="1">iPhone 12 Pro Max (85%)<break/>iQOO Neo 9(15%)</td></tr><tr><td valign="top" colspan="1" rowspan="1">Azadirachta Indica Healthy Leaf</td><td valign="top" colspan="1" rowspan="1">20 December, 2024</td><td valign="top" colspan="1" rowspan="1">Ashulia Model Town</td><td valign="top" colspan="1" rowspan="1">33°C</td><td valign="top" colspan="1" rowspan="1">Sunny</td><td valign="top" colspan="1" rowspan="1">iPhone 12 Pro Max (90%)<break/>iQOO Neo 9(10%)</td></tr><tr><td valign="top" colspan="1" rowspan="1">Azadirachta Indica Shot Hole</td><td valign="top" colspan="1" rowspan="1">28 December, 2024</td><td valign="top" colspan="1" rowspan="1">Ashulia Model Town</td><td valign="top" colspan="1" rowspan="1">28°C</td><td valign="top" colspan="1" rowspan="1">Sunny</td><td valign="top" colspan="1" rowspan="1">Vivo V27 (20%)<break/>Samsung Galaxy A13 (80%)</td></tr><tr><td valign="top" colspan="1" rowspan="1">Azadirachta Indica Powdery Mildew</td><td valign="top" colspan="1" rowspan="1">31 December, 2024</td><td valign="top" colspan="1" rowspan="1">Ashulia Model Town</td><td valign="top" colspan="1" rowspan="1">24°C</td><td valign="top" colspan="1" rowspan="1">Foggy</td><td valign="top" colspan="1" rowspan="1">Vivo V27 (25%)<break/>Samsung Galaxy A13 (75%)</td></tr><tr><td valign="top" colspan="1" rowspan="1">Azadirachta Indica Yellow Leaf</td><td valign="top" colspan="1" rowspan="1">05 January, 2025</td><td valign="top" colspan="1" rowspan="1">Ashulia Model Town</td><td valign="top" colspan="1" rowspan="1">22°C</td><td valign="top" colspan="1" rowspan="1">Foggy</td><td valign="top" colspan="1" rowspan="1">Vivo V27 (50%)<break/>Samsung Galaxy A13 (50%)</td></tr></tbody></table></table-wrap></sec></sec><sec id="sec0006" disp-level="1"><label>3.</label><title>Experimental Design, Materials and Methods</title><sec id="sec0007" disp-level="2"><label>3.1.</label><title>Experimental design</title><p id="para0018">The experimental design for the development of the medicinal leaf dataset was carefully planned to ensure high-quality, diverse, and reliable data suitable for machine learning applications. Images of four medicinal plant leaf types were captured using four different mobile cameras, introducing variability in lighting conditions, viewing angles, and image quality. The image collection took place at the National Botanical Garden, Mirpur-2, Dhaka (Latitude: 23.8127° N, Longitude: 90.3476° E) between November 01, 2024, and January 05, 2025.</p><p id="para0019">All collected images were manually sorted into five distinct disease classes: Healthy, Bacterial Spot, Shot Hole, Powdery Mildew, and Yellow Leaf. The classification was validated by agricultural experts to ensure labeling accuracy and dataset integrity. To further increase dataset volume and variability, six data augmentation techniques—including rotation, zooming, flipping and brightness adjustment—were applied. All images were then resized to a uniform resolution of 512×512 pixels, ensuring compatibility across a wide range of machine learning and deep learning models.</p><p id="para0021">In the model generation phase, a deep learning model such as MobileNetV2 was trained on the dataset to classify the different leaf conditions effectively. The final stage involved model evaluation, where performance metrics such as accuracy, precision, recall and F1 score were calculated to assess classification efficiency. This comprehensive workflow demonstrates how an AI-driven system can be leveraged for the early detection and classification of leaf diseases, contributing to more sustainable agricultural practices and improved medicinal plant health monitoring. <xref rid="fig0002" ref-type="fig">Fig. 2</xref> illustrates sample image classifications produced by the trained model.</p><fig id="fig0002" position="float"><?disp-level 3?><label>Fig. 2</label><caption><p>The methodology diagram of medicinal plant leaves collection and model evaluation.</p></caption><alt-text>Fig 2</alt-text><alternatives><graphic xmlns:xlink="http://www.w3.org/1999/xlink" content-type="image" id="celink0002" xlink:href="gr2.jpg"><?cloudpmc-path blobs/4ae4/12361613/b77fe649b0d6/gr2.jpg?><?cloudpmc-bucket cdn?><?image-server-status LOAD_COMPLETED?><?original-height 997?><?original-width 2500?><?scaled-height 285?><?scaled-width 714?></graphic><graphic xmlns:xlink="http://www.w3.org/1999/xlink" content-type="thumb" xlink:href="gr2.gif"><?cloudpmc-path blobs/4ae4/12361613/fc79bb592221/gr2.gif?><?cloudpmc-bucket cdn?></graphic></alternatives></fig></sec><sec id="sec0008" disp-level="2"><label>3.2.</label><title>Materials (camera specification)</title><p id="para0022">The leaf images were captured using four different mobile phone cameras: Apple iPhone 12 Pro Max, Samsung Galaxy A13, iQOO Neo 9 and Vivo V27. These devices were chosen for their high-resolution imaging capabilities, which introduced diversity in terms of camera specifications, such as megapixel resolution, aperture size, and image dimensions. This variability ensures the inclusion of real-world inconsistencies in image data, such as changes in lighting, clarity, and focus—factors critical for evaluating the robustness of image processing and machine learning algorithms. By incorporating images from different devices, the dataset better simulates real-life conditions, making it a valuable resource for research in image enhancement, noise resilience, and generalization in classification tasks. <xref rid="fig0003" ref-type="fig">Fig. 3</xref> presents the flowchart of the entire dataset preparation and classification process, while <xref rid="tbl0004" ref-type="table">Table 4</xref> outlines the detailed technical specifications of each camera used, including the camera resolution (MP), aperture, and original image dimensions<italic>.</italic></p><fig id="fig0003" position="float"><?disp-level 3?><label>Fig. 3</label><caption><p>Workflow diagram of image acquisition to data augmentation.</p></caption><alt-text>Fig 3</alt-text><alternatives><graphic xmlns:xlink="http://www.w3.org/1999/xlink" content-type="image" id="celink0003" xlink:href="gr3.jpg"><?cloudpmc-path blobs/4ae4/12361613/e9ac1511338c/gr3.jpg?><?cloudpmc-bucket cdn?><?image-server-status LOAD_COMPLETED?><?original-height 531?><?original-width 2167?><?scaled-height 177?><?scaled-width 722?></graphic><graphic xmlns:xlink="http://www.w3.org/1999/xlink" content-type="thumb" xlink:href="gr3.gif"><?cloudpmc-path blobs/4ae4/12361613/c109c44bad8f/gr3.gif?><?cloudpmc-bucket cdn?></graphic></alternatives></fig><table-wrap id="tbl0004" position="float"><?disp-level 3?><label>Table 4</label><caption><p>Camera specifications of each device.</p></caption><alt-text>Table 4</alt-text><table frame="hsides" rules="groups"><thead><tr><th valign="top" colspan="1" rowspan="1">Device Name</th><th valign="top" colspan="1" rowspan="1">Camera Resolution (MP)</th><th valign="top" colspan="1" rowspan="1">Aperture</th><th valign="top" colspan="1" rowspan="1">Image Dimensions</th></tr></thead><tbody><tr><td valign="top" colspan="1" rowspan="1">iPhone 12 Pro Max</td><td valign="top" colspan="1" rowspan="1">12</td><td valign="top" colspan="1" rowspan="1">f/1.6</td><td valign="top" colspan="1" rowspan="1">3024×4032</td></tr><tr><td valign="top" colspan="1" rowspan="1">iQOO Neo 9</td><td valign="top" colspan="1" rowspan="1">50</td><td valign="top" colspan="1" rowspan="1">f/1.9</td><td valign="top" colspan="1" rowspan="1">3072×4096</td></tr><tr><td valign="top" colspan="1" rowspan="1">Samsung Galaxy A13</td><td valign="top" colspan="1" rowspan="1">50</td><td valign="top" colspan="1" rowspan="1">f/1.8</td><td valign="top" colspan="1" rowspan="1">3060×4080</td></tr><tr><td valign="top" colspan="1" rowspan="1">Vivo V27</td><td valign="top" colspan="1" rowspan="1">50</td><td valign="top" colspan="1" rowspan="1">f/1.9</td><td valign="top" colspan="1" rowspan="1">3072×4096</td></tr></tbody></table></table-wrap></sec><sec id="sec0009" disp-level="2"><label>3.3.</label><title>Image pre-processing and classification</title><p id="para0023">To ensure the development of a reliable expert system using machine learning and deep learning models, a carefully structured preprocessing pipeline was established. This pipeline consists of several crucial stages designed to maintain data quality, increase variability, and support effective model training. The following steps outline the entire process from data collection to classification:</p><list list-type="label" id="celist0003"><list-item id="celistitem0009"><label>1.</label><p id="para0024"><bold>Image Source and Leaf Collection</bold>:</p><p id="para0025">The process began at the National Botanical Garden in Mirpur, Dhaka, where a diverse range of medicinal plant species is cultivated. Leaves from four selected species—Cinnamomum Camphora, Terminalia Chebula, Moringa Oleifera, and Azadirachta Indica—were collected. Care was taken to include both healthy and diseased specimens to ensure broad coverage of leaf health conditions.</p></list-item><list-item id="celistitem0010"><label>2.</label><p id="para0026"><bold>Leaf Organization</bold>:</p><p id="para0027">Once collected, the leaves were sorted by species to maintain systematic categorization. This step was crucial for ensuring that each species was well represented and easily identifiable for comparative analysis.</p></list-item><list-item id="celistitem0011"><label>3.</label><p id="para0028"><bold>Image Capturing</bold>:</p><p id="para0029">High-resolution images of the organized leaves were captured using four different mobile devices to introduce variability in lighting, perspective, and quality. This diversity supports real-world application and strengthens model generalization.</p></list-item><list-item id="celistitem0012"><label>4.</label><p id="para0030"><bold>Image Resizing</bold>:</p><p id="para0031">All captured images were resized to a standardized resolution of 512×512 pixels. This uniformity helps reduce computational overhead and ensures consistency during training and evaluation phases.</p></list-item><list-item id="celistitem0013"><label>5.</label><p id="para0032"><bold>Image Labeling</bold>:</p><p id="para0033">After preprocessing, each image was annotated with key metadata, including plant species, disease type, and overall health status (healthy or diseased). This labeling process was performed under expert guidance to ensure accuracy, which is essential for effective supervised learning.</p></list-item><list-item id="celistitem0014"><label>6.</label><p id="para0034"><bold>Classification</bold>:</p><p id="para0035">The labeled images were then categorized into five distinct classes based on their visual symptoms: healthy, bacterial spot, shot hole, powdery mildew, and yellow leaf. Each of the four plant species includes examples across all each three or four disease categories, depending on observed symptoms to allow for detailed classification and disease detection.</p></list-item><list-item id="celistitem0015"><label>7.</label><p id="para0036"><bold>Data Augmentation and Preparation</bold>:</p><p id="para0037">Given the importance of data volume and diversity in training deep learning models, augmentation techniques were employed. These included random rotations (45°, 60°, and 90°), brightness adjustments, zooming and horizontal flipping. These transformations introduced natural variation, enhancing the dataset’s robustness.</p><p id="para0038">The final dataset was divided into two parts:</p></list-item></list><p id="para0039"><bold>Original Data</bold>: Containing raw images captured in the botanical garden (dimension 512×512).</p><p id="para0040"><bold>Augmented Data</bold>: Containing the transformed images created through augmentation to improve model performance.</p></sec><sec id="sec0010" disp-level="2"><label>3.4.</label><title>Dataset structure</title><p id="para0041">The dataset is systematically organized into two primary directories: Original Images and Augmented Images. Each directory contains images from four distinct leaf species, further categorized into five disease classes—Healthy, Bacterial Spot, Shot Hole, Powdery Mildew, and Yellow Leaf. The Original Images directory comprises raw, unprocessed photographs that have been directly sorted according to their respective disease types. This serves as the baseline dataset. In contrast, the Augmented Images directory includes images that have undergone preprocessing operations such as resizing and a variety of augmentation techniques, including rotation, flipping, zooming and brightness adjustments to enhance model training robustness. A schematic overview of this hierarchical organization is presented in <xref rid="fig0004" ref-type="fig">Fig. 4</xref>, which visually illustrates the structured arrangement of leaf images by species and disease category.</p><fig id="fig0004" position="float"><?disp-level 3?><label>Fig. 4</label><caption><p>AI-MedLeafX dataset file organization.</p></caption><alt-text>Fig 4</alt-text><alternatives><graphic xmlns:xlink="http://www.w3.org/1999/xlink" content-type="image" id="celink0004" xlink:href="gr4.jpg"><?cloudpmc-path blobs/4ae4/12361613/8db186e6d47a/gr4.jpg?><?cloudpmc-bucket cdn?><?image-server-status LOAD_COMPLETED?><?original-height 1061?><?original-width 2500?><?scaled-height 303?><?scaled-width 714?></graphic><graphic xmlns:xlink="http://www.w3.org/1999/xlink" content-type="thumb" xlink:href="gr4.gif"><?cloudpmc-path blobs/4ae4/12361613/f429c1667f93/gr4.gif?><?cloudpmc-bucket cdn?></graphic></alternatives></fig></sec><sec id="sec0011" disp-level="2"><label>3.5.</label><title>Data validation and annotation</title><p id="para0042">To ensure the reliability and scientific accuracy of the medicinal plant leaf dataset, the annotation and validation process was conducted under expert supervision. Professor Dr. M. A. Rahim, Head of the Department of Agricultural Science, and Dr. ATM Majharul Mannan, Assistant Professor of the same department at Daffodil International University (DIU), Dhaka, Bangladesh, led this process.</p><p id="para0043">The process of annotation went as follows:</p><list list-type="label" id="celist0004"><list-item id="celistitem0016"><label>•</label><p id="para0044">The research team initially annotated all images according to what was visible of symptoms.</p></list-item><list-item id="celistitem0017"><label>•</label><p id="para0045">Quality screening was also performed on each image to rule out blurred or unclear samples.</p></list-item><list-item id="celistitem0018"><label>•</label><p id="para0046">Double-review was utilized to ensure consistency with the annotations.</p></list-item></list><p id="para0047">To validate statistically, we conducted an inter-annotator agreement test on a random subset of 1000 images. The process yielded a Cohen's Kappa of 0.91, a high level of agreement and reliability of annotators.</p><p id="para0048">With their extensive experience in plant disease identification and classification, the dataset underwent a rigorous validation protocol.</p><p id="para0049">The annotation process involved several key steps:</p><list list-type="label" id="celist0005"><list-item id="celistitem0019"><label>1.</label><p id="para0050"><bold>Quality Screening:</bold> Each leaf image was reviewed to ensure clarity and adequate visibility of disease symptoms. Any image that was blurred, underexposed, or lacked sufficient detail was excluded from the dataset to maintain high-quality standards.</p></list-item><list-item id="celistitem0020"><label>2.</label><p id="para0051"><bold>Categorization:</bold> Images were classified into five distinct categories based on visual symptoms—Healthy, Bacterial Spot, Shot Hole, Powdery Mildew, and Yellow Leaf. The classification considered critical features such as discoloration, necrosis, deformation, and fungal patterns.</p></list-item><list-item id="celistitem0021"><label>3.</label><p id="para0052"><bold>Expert Validation:</bold> After labeling, the dataset was thoroughly reviewed to confirm the accuracy and consistency of the annotations. This double-checking mechanism minimized human error and ensured label integrity.</p></list-item></list><p id="para0053">In addition, the annotation of every image in a disease category was not decided solely by symptom patterns. Rather, expert validation ensured visual features matched accepted diagnostic criteria. For diseases like Powdery Mildew, the annotation was based on fungal growth patterns verified using plant pathology resources. For Yellow Leaf, the annotation is consistent with a diagnosis of nutrient deficiency disorder rather than broad yellowing symptoms. Where necessary, our agronomists consulted laboratory or secondary tissue condition references to confirm labeling accuracy.</p><p id="para0054">To support transparency, a certification of validation has been included as a supplemental file, highlighting the scientific diligence behind the classification process. This expert-driven data annotation approach has resulted in a high-quality, dependable dataset, ideal for training and evaluating machine learning models for early plant disease detection and classification.</p></sec><sec id="sec0012" disp-level="2"><label>3.6.</label><title>Model development</title><p id="para0055">The initial model testing involved training a MobileNetV2 model to categorize images into 13 distinct classes within the dataset. The model was evaluated using a confusion matrix, which resulted in a 13 × 13 matrix, as shown in <xref rid="fig0005" ref-type="fig">Fig. 5</xref>. Additionally, key performance metrics, including accuracy, precision, recall, and F1 score, were computed. The detailed performance results for each class are presented in <xref rid="tbl0005" ref-type="table">Table 5</xref>.</p><fig id="fig0005" position="float"><?disp-level 3?><label>Fig. 5</label><caption><p>Confusion matrix of MobileNetV2 model.</p></caption><alt-text>Fig 5</alt-text><alternatives><graphic xmlns:xlink="http://www.w3.org/1999/xlink" content-type="image" id="celink0005" xlink:href="gr5.jpg"><?cloudpmc-path blobs/4ae4/12361613/151cee196e33/gr5.jpg?><?cloudpmc-bucket cdn?><?image-server-status LOAD_COMPLETED?><?original-height 1914?><?original-width 2167?><?scaled-height 638?><?scaled-width 722?></graphic><graphic xmlns:xlink="http://www.w3.org/1999/xlink" content-type="thumb" xlink:href="gr5.gif"><?cloudpmc-path blobs/4ae4/12361613/986c8e802b6e/gr5.gif?><?cloudpmc-bucket cdn?></graphic></alternatives></fig><table-wrap id="tbl0005" position="float"><?disp-level 3?><label>Table 5</label><caption><p>Performance metrices for MovileNetV2 model.</p></caption><alt-text>Table 5</alt-text><table frame="hsides" rules="groups"><thead><tr><th valign="top" colspan="1" rowspan="1">Class</th><th valign="top" colspan="1" rowspan="1">Accuracy</th><th valign="top" colspan="1" rowspan="1">Precision</th><th valign="top" colspan="1" rowspan="1">Recall</th><th valign="top" colspan="1" rowspan="1">F1 Score</th></tr></thead><tbody><tr><td valign="top" colspan="1" rowspan="1">Camphora Healthy</td><td valign="top" colspan="1" rowspan="1">0.93</td><td valign="top" colspan="1" rowspan="1">0.92</td><td valign="top" colspan="1" rowspan="1">0.96</td><td valign="top" colspan="1" rowspan="1">0.94</td></tr><tr><td valign="top" colspan="1" rowspan="1">Bacterial Spot</td><td valign="top" colspan="1" rowspan="1">0.91</td><td valign="top" colspan="1" rowspan="1">0.92</td><td valign="top" colspan="1" rowspan="1">0.95</td><td valign="top" colspan="1" rowspan="1">0.93</td></tr><tr><td valign="top" colspan="1" rowspan="1">Shot Hole</td><td valign="top" colspan="1" rowspan="1">0.92</td><td valign="top" colspan="1" rowspan="1">0.93</td><td valign="top" colspan="1" rowspan="1">0.96</td><td valign="top" colspan="1" rowspan="1">0.94</td></tr><tr><td valign="top" colspan="1" rowspan="1">Chebula Bacterial Spot</td><td valign="top" colspan="1" rowspan="1">0.93</td><td valign="top" colspan="1" rowspan="1">0.95</td><td valign="top" colspan="1" rowspan="1">0.96</td><td valign="top" colspan="1" rowspan="1">0.95</td></tr><tr><td valign="top" colspan="1" rowspan="1">Chebula Healthy</td><td valign="top" colspan="1" rowspan="1">0.94</td><td valign="top" colspan="1" rowspan="1">0.96</td><td valign="top" colspan="1" rowspan="1">0.97</td><td valign="top" colspan="1" rowspan="1">0.96</td></tr><tr><td valign="top" colspan="1" rowspan="1">Chebula Shot Hole</td><td valign="top" colspan="1" rowspan="1">0.92</td><td valign="top" colspan="1" rowspan="1">0.94</td><td valign="top" colspan="1" rowspan="1">0.96</td><td valign="top" colspan="1" rowspan="1">0.95</td></tr><tr><td valign="top" colspan="1" rowspan="1">Oleifera Healthy</td><td valign="top" colspan="1" rowspan="1">0.93</td><td valign="top" colspan="1" rowspan="1">0.94</td><td valign="top" colspan="1" rowspan="1">0.95</td><td valign="top" colspan="1" rowspan="1">0.94</td></tr><tr><td valign="top" colspan="1" rowspan="1">Oleifera Bacterial Spot</td><td valign="top" colspan="1" rowspan="1">0.91</td><td valign="top" colspan="1" rowspan="1">0.92</td><td valign="top" colspan="1" rowspan="1">0.94</td><td valign="top" colspan="1" rowspan="1">0.93</td></tr><tr><td valign="top" colspan="1" rowspan="1">Oleifera Yellow Leaf</td><td valign="top" colspan="1" rowspan="1">0.92</td><td valign="top" colspan="1" rowspan="1">0.93</td><td valign="top" colspan="1" rowspan="1">0.94</td><td valign="top" colspan="1" rowspan="1">0.93</td></tr><tr><td valign="top" colspan="1" rowspan="1">Indica Healthy</td><td valign="top" colspan="1" rowspan="1">0.94</td><td valign="top" colspan="1" rowspan="1">0.96</td><td valign="top" colspan="1" rowspan="1">0.97</td><td valign="top" colspan="1" rowspan="1">0.96</td></tr><tr><td valign="top" colspan="1" rowspan="1">Indica Shot Hole</td><td valign="top" colspan="1" rowspan="1">0.91</td><td valign="top" colspan="1" rowspan="1">0.94</td><td valign="top" colspan="1" rowspan="1">0.96</td><td valign="top" colspan="1" rowspan="1">0.95</td></tr><tr><td valign="top" colspan="1" rowspan="1">Indica Powdery Mildew</td><td valign="top" colspan="1" rowspan="1">0.92</td><td valign="top" colspan="1" rowspan="1">0.94</td><td valign="top" colspan="1" rowspan="1">0.96</td><td valign="top" colspan="1" rowspan="1">0.95</td></tr><tr><td valign="top" colspan="1" rowspan="1">Indica Yellow Leaf</td><td valign="top" colspan="1" rowspan="1">0.93</td><td valign="top" colspan="1" rowspan="1">0.96</td><td valign="top" colspan="1" rowspan="1">0.97</td><td valign="top" colspan="1" rowspan="1">0.96</td></tr></tbody></table></table-wrap><p id="para0056">From <xref rid="tbl0005" ref-type="table">Table 5</xref>, the MobileNetV2 model performed well across all 13 classes, with high accuracy, precision, recall, and F1 scores. The accuracy for most classes ranged between 91 % and 94 %, indicating strong classification performance. Precision and recall were consistently high, with values above 0.90 for most classes, suggesting that the model was good at both identifying correct classes and minimizing false positives/negatives. The F1 score, which balances precision and recall, was also strong, typically ranging from 0.93 to 0.96. Overall, the model demonstrated excellent performance in classifying images from the dataset.</p></sec></sec><sec id="sec0013" disp-level="1"><title>Limitations</title><p id="para0057">One minor limitation of the dataset is that it includes only four medicinal plant species—Cinnamomum Camphora, Terminalia Chebula, Moringa Oleifera, and Azadirachta Indica. While these are widely recognized for their therapeutic value, the limited botanical diversity may restrict the applicability of the dataset for broader studies involving a wider range of medicinal plants. Additionally, since the images were collected from a single geographic location under specific environmental conditions, the dataset may lack ecological variability, potentially affecting the generalizability of the trained models to different climates or regions.</p></sec><sec id="sec0014" disp-level="1"><title>Ethics Statement</title><p id="para0058">The authors affirm that all procedures in this study were conducted in accordance with established ethical guidelines. No harm was caused to any plants, animals, or humans during the data collection or research process. Furthermore, no data was sourced from social media platforms. All authors fully adhere to the ethical standards required for publication in Data in Brief and confirm their compliance with all relevant institutional and journal policies.</p></sec><sec id="sec0015" disp-level="1"><title>CRediT Author Statement</title><p id="para0059"><bold>Md. Fahim Ferdous:</bold> Data curation, Visualization, Validation, Writing, Original draft preparation; <bold>Faysal Bin Khaled Nissan:</bold> Data curation, Validation, Original draft preparation; <bold>Nur Muhammad Nibir:</bold> Data curation, Validation, Visualization, Writing; <bold>Md. Hasan Imam Bijoy:</bold> conceptualization, supervision, Visualization, formal analysis, writing - review &amp; editing.</p></sec><sec id="ack0001" sec-type="ack" disp-level="1"><title>Acknowledgements</title><p id="para0060">We extend our heartfelt gratitude to Professor Dr. M. A. Rahim, Head of the Department of Agricultural Science, and Dr. ATM Majharul Mannan, Assistant Professor of the same department at Daffodil International University (DIU), Dhaka, Bangladesh, for their invaluable assistance in validating the dataset. Their expert guidance and unwavering support were instrumental in the successful completion of this study.</p><p id="para0061">This research did not receive any specific grant from funding agencies in the public, commercial, or not-for-profit sectors.</p><sec id="sec0615" disp-level="2"><title>Declaration of competing interest</title><p id="para0062">The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.</p></sec></sec><sec id="refdata001" disp-level="1"><title>Data Availability</title>
<list list-type="simple" id="dacelist0001"><list-item id="rdlistitem0001"><p id="para9002">
Mendeley Data<ext-link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="https://data.mendeley.com/datasets/zz7r5y4dc6/1" ext-link-type="uri">AI-MedLeafX: A Large-Scale Computer Vision Dataset for Medicinal Plant Diagnosis (Original data)</ext-link>
</p></list-item></list>
</sec><sec id="cebibl1" sec-type="ref-list" disp-level="1"><title>References</title><sec id="cebibl1_sec2" disp-level="2"><ref-list><ref id="bib0001"><label>1.</label><mixed-citation id="sbref0001"><named-content content-type="citation-string">Islam S., Ahmed M.R., Islam S., Rishad M.M.A., Ahmed S., Utshow T.R., Siam M.I. BDMediLeaves: a leaf images dataset for Bangladeshi medicinal plants identification. Data Brief. 2023;50 doi: 10.1016/J.DIB.2023.109488.</named-content><ext-link xmlns:xlink="http://www.w3.org/1999/xlink" ext-link-type="doi" xlink:href="10.1016/J.DIB.2023.109488"/><ext-link xmlns:xlink="http://www.w3.org/1999/xlink" ext-link-type="pmcid" xlink:href="PMC10450835"/><ext-link xmlns:xlink="http://www.w3.org/1999/xlink" ext-link-type="pmid" xlink:href="37636130"/><ext-link xmlns:xlink="http://www.w3.org/1999/xlink" ext-link-type="google-scholar" xlink:href="journal=Data Brief&amp;title=BDMediLeaves: a leaf images dataset for Bangladeshi medicinal plants identification&amp;author=S. Islam&amp;author=M.R. Ahmed&amp;author=S. Islam&amp;author=M.M.A. Rishad&amp;author=S. Ahmed&amp;volume=50&amp;publication_year=2023&amp;pmid=37636130&amp;doi=10.1016/J.DIB.2023.109488&amp;"/></mixed-citation></ref><ref id="bib0002"><label>2.</label><mixed-citation id="sbref0002"><named-content content-type="citation-string">P. B R, S. Rani, Indian medicinal leaves image datasets, 3 (2023). 10.17632/748F8JKPHB.3.</named-content><ext-link xmlns:xlink="http://www.w3.org/1999/xlink" ext-link-type="doi" xlink:href="10.17632/748F8JKPHB.3"/></mixed-citation></ref><ref id="bib0003"><label>3.</label><mixed-citation id="sbref0003"><named-content content-type="citation-string">R. S, A. J, Medicinal Leaf Dataset, 1 (2020) 17632. 10.17632/NNYTJ2V3N5.1.</named-content><ext-link xmlns:xlink="http://www.w3.org/1999/xlink" ext-link-type="doi" xlink:href="10.17632/NNYTJ2V3N5.1"/></mixed-citation></ref></ref-list></sec></sec><sec id="_ad93_" xml:lang="en" sec-type="associated-data" disp-level="1"><title>Associated Data</title><sec id="_adda93_" xml:lang="en" sec-type="data-availability-statement" disp-level="2"><title>Data Availability Statement</title>
<list list-type="simple"><list-item><p>
Mendeley Data<ext-link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="https://data.mendeley.com/datasets/zz7r5y4dc6/1" ext-link-type="uri">AI-MedLeafX: A Large-Scale Computer Vision Dataset for Medicinal Plant Diagnosis (Original data)</ext-link>
</p></list-item></list>
</sec></sec></body></article>