NatoreMedLeaf-8
Description
NatoreMedLeaf-8 Dataset NatoreMedLeaf-8 contains 34,034 RGB leaf images (JPEG, 512 × 512 px) of eight medicinal plant species widely used in Bangladesh: amla (Phyllanthus emblica), arjun (Terminalia arjuna), haritaki (Terminalia chebula), life plant (Kalanchoe pinnata), mint (Mentha spicata), moringa (Moringa oleifera), neem (Azadirachta indica) and tulsi (Ocimum tenuiflorum). It consists of 2,002 original (non-augmented) images kept after manual quality screening and 32,032 augmented images, generated as 16 variants of each original image. Leaves were collected in July 2026 from three nurseries in Natore district, Bangladesh: Natore Nursery and Green BD Nursery (Natore Sadar, Natore) and Sadia Nursery (Dayarampur, Bagatipara, Natore). Each detached leaf was photographed on a white fabric background under a single table lamp with an iPhone 15 Pro Max. All images were cropped to the leaf region, center-cropped to a square and resized to 512 × 512 px. Labels are image-level: the class folder name is the label. Images per class (original / augmented / total) • Amla: 264 / 4,224 / 4,488 • Arjun: 285 / 4,560 / 4,845 • Haritaki: 278 / 4,448 / 4,726 • Life plant: 241 / 3,856 / 4,097 • Mint: 205 / 3,280 / 3,485 • Moringa: 245 / 3,920 / 4,165 • Neem: 255 / 4,080 / 4,335 • Tulsi: 229 / 3,664 / 3,893 • Total: 2,002 / 32,032 / 34,034 Folder structure • Original_Images/ – eight class subfolders of non-augmented images • Augmented_Images/ – eight class subfolders of augmented images • Code/ – augmentation notebook, cropping and resizing script, and usage instructions • README.txt, Image_Counts.csv, Class_Labels.csv Each augmented file name is the source image name plus a transformation identifier, so every augmented image can be traced back to its source. Possible uses • Benchmarking image classification models for medicinal plant species identification • Studying the effect of preprocessing and augmentation choices • Transfer learning and fine-grained classification, including visually similar classes (arjun vs. haritaki, both Terminalia) • Teaching computer vision and plant identification Recommended use No train/validation/test split is provided. Keep each source image and all its augmented variants in the same partition, and evaluate models on held-out original images only; otherwise, near-duplicate images leak between partitions and inflate accuracy. Limitations • One collection month, one smartphone model, and a controlled background and lighting setup, so models may not generalise to field images. • Some leaves were photographed more than once and leaf or plant identifiers were not recorded, so the image count is higher than the number of distinct specimens. • Species labels were assigned by the authors with help from nursery staff and were not verified by a professional botanist. • The original full-resolution HEIC camera files (3024 × 4032 px) are not included; the original images are the screened photographs after cropping and resizing.
Files
Steps to reproduce
1. Collection. In July 2026, detached leaves of the eight species were collected from Natore Nursery and Green BD Nursery (Natore Sadar, Natore) and Sadia Nursery (Dayarampur, Bagatipara, Natore, Bangladesh). Species labels were assigned by the authors with help from nursery staff. 2. Image acquisition. Each leaf was placed on white fabric and photographed with an iPhone 15 Pro Max under a single table lamp as the main light source. Camera files were saved as HEIC at 3024 × 4032 px. 3. Screening. All photographs were inspected visually, and blurred or duplicate images were removed (no numerical threshold was used). 2,002 source images remained. 4. Augmentation (Python with OpenCV and NumPy; Pillow and pillow-heif to decode HEIC and convert to RGB). Sixteen variants were generated independently from each source image (not applied in sequence): o horizontal flip (1) and vertical flip (1); o rotation by +15°, −15°, +30° and −30° (4); o brightness shift of −50 and +50 on the HSV value channel, clipped to 0–255 (2); o intensity scaling by ×0.7 and ×1.4 (2); o zoom-in: central crop with factor 1.3, then resize (1); o zoom-out: image scaled to 0.75 and centred on a black canvas (1); o horizontal shear of −0.25 and +0.25 (2); o perspective transform with random inward corner offsets of 0–40 px (1); o colour jitter: hue −10 to +10, saturation ×0.8–1.3, value ×0.8–1.2 (1). Rotation, shear and perspective used reflected borders. No fixed random seed was set for the perspective and colour-jitter steps, so these two outputs may differ on rerun. Each output file is named with the source file name plus a transformation identifier. 5. Cropping and resizing (Pillow), applied to both original and augmented images: (a) correct orientation from EXIF; (b) estimate the background colour from the four corners; (c) scan the outer 25% of each side for the leaf boundary, using a colour-difference threshold of 18 and a differing-pixel proportion of 0.08; (d) discard the crop if it keeps less than 75% of the width or height, and skip cropping if both dimensions shrink by less than 2%; (e) center-crop to a square; (f) resize to 512 × 512 px with LANCZOS resampling; (g) save as JPEG at quality 95. 6. Organization. Save the outputs to Original_Images/ and Augmented_Images/, each with eight class subfolders named by class. The Code/ folder contains the augmentation notebook, the cropping and resizing script, and instructions to rerun both. 7. Reuse. When splitting data, keep each source image and all its augmented variants in the same train, validation or test partition. ETHICS STATEMENT This dataset contains only images of plant leaves. - No human participants were involved, and no personal or identifiable information is included in the dataset. - No animals were involved or harmed. - No data was collected from social media platforms. - The leaves were collected from commonly found medicinal plants. Therefore, no ethical approval was required for this work.
Institutions
- Bangladesh Army University of Engineering & TechnologyRajshahi Division, Rajshahi
- University of RajshahiRajshahi Division, Rajshahi