Professional Documents
Culture Documents
Networks
Dr. G. NEELIMA
Assistant Professor
Department of computer science & engineering
Acharya Nagarjuna University
March 2024
Classification Of Indian Medicinal Leaves Using Transfer Learning Based Convolutional Neural
Networks
DECLARATION
I further declare that the Project, either in part or full, has not been submitted
i
Classification Of Indian Medicinal Leaves Using Transfer Learning Based Convolutional Neural
Networks
CERTIFICATE
ii
Classification Of Indian Medicinal Leaves Using Transfer Learning Based Convolutional Neural
Networks
External Examiner
iii
Classification Of Indian Medicinal Leaves Using Transfer Learning Based Convolutional Neural
Networks
ACKNOWLEDGEMENTS
Undertaking this Project has been a truly life-changing experience for me and it
would not have been possible to do without the support and guidance that I received
I would like to first say a very big thank you to my supervisor Dr. G. NEELIMA for
all the support and encouragement he gave me. Her friendly guidance and expert
advice have been invaluable throughout all stages of the work. Without her guidance
and constant feedback this Project work not have been achievable.
I would also wish to express my gratitude to Prof. K. Gangadhara Rao for extended
completing our project work. Also, I would like to extend our sincere regards to all
I must also thank my parents and friends for the immense support and help during this
project. Without their help, completing this project would have been very difficult.
iv
Classification Of Indian Medicinal Leaves Using Transfer Learning Based Convolutional Neural
Networks
ABSTRACT
There’s a rapid increment in the utilization of herbal-based items over the world.
Medicinal herbs play a major part in creating ayurvedic drugs and homegrown items.
Herbal medications are regarded as a substitute for synthetic drugs in both developing
and developed countries, owing to their lack of adverse effects. Many medicinal
species are extant in India. Identifying those medicinal plants/leaves over a bunch of
different kinds of plant species is necessary as they are many health benefits with
respective textures, shape, and edge or margin of a leaf. In this paper, Indian
networks has been proposed. In order to make the classification more accurate, the
data augmentation technique had been utilized to enlarge the data which avoids
insufficiency of data. The regularization technique was utilized to avoid the menace
of overfitting. The dataset consists of 1835 images and thirty different types of
beneficial Indian medicinal herbs such as Tulsi, Jasmine, etc. Data has been trained
preliminary results of the Indian medicinal herbs dataset showed that the Xception
v
Classification Of Indian Medicinal Leaves Using Transfer Learning Based Convolutional Neural
Networks
TABLE OF CONTENTS
TITLE PAGE NO
DECLARATION i
CERTIFICATE iii
ACKNOWLEDGEMENT iv
ABSTRACT v
LIST OF FIGURES xi
Chapter 1: INTRODUCTION
1.1 Overview 2
2 Literature Survey 9
3.4 Modules 17
vi
Classification Of Indian Medicinal Leaves Using Transfer Learning Based Convolutional Neural
Networks
Chapter 5: METHODOLOGY
5.1 Dataset 29
5.3.1 VGG16 34
5.3.2 Xception 37
5.3.3 EfiecientNetV2 40
5.6 Algorithms 47
vii
Classification Of Indian Medicinal Leaves Using Transfer Learning Based Convolutional Neural
Networks
7.1 Dataset 72
Source Code 83
10.1 Conclusion 95
References 99
viii
Classification Of Indian Medicinal Leaves Using Transfer Learning Based Convolutional Neural
Networks
ix
Classification Of Indian Medicinal Leaves Using Transfer Learning Based Convolutional Neural
Networks
LIST OF FIGURES
x
Classification Of Indian Medicinal Leaves Using Transfer Learning Based Convolutional Neural
Networks
CHAPTER 1
INTRODUCTION
xi
Classification Of Indian Medicinal Leaves Using Transfer Learning Based Convolutional Neural
Networks
1.1 Overview
Medicinal plants have been an integral part of traditional medicine systems for
technology, the identification and recognition of medicinal plants have been expedited
particular, has emerged as a powerful tool in this domain, allowing the leveraging of
pre-trained models to address recognition tasks with limited labeled data. In this
introductory discourse, we delve into the application of transfer learning for the
Leaves have characteristics such as shape and texture to be identified with the help of image
information with boundaries [1]–[10]. The identified leaf object is limited to the boundary
identified as leaf size and leaf shape, while the leaf texture or pattern is seen from the leaf
surface [11]. Generally, the size of the leaves can be different, but the surface pattern of the
leaves does not differ from one another [12]–[15]. This study aims to identify medicinal or
phytomedicine plant species by processing leaf imagery using image processing and deep
learning [15]–[21].
Research on the identification of phytomedicine plant leaves has been carried out by several
previous studies, for example Naresh and Nagendraswamy in 2015 [22], Mukherjee and his
team in 2016 [23], Venkataraman & Mangayarkarasi in 2017 [24], Gao & Lin in 2018 [25],
Sivaranjani et al. in 2019 [26], Pechebovicz et al. in 2020 [27], Bhuiyan et al. in 2021 [28].
xii
Classification Of Indian Medicinal Leaves Using Transfer Learning Based Convolutional Neural
Networks
In a study by Naresh and Nagendraswamy in 2015, the authors employed local binary patterns
(LBP) to classify medicinal leaf plants. In a study conducted in 2016 by Mukherjee and his
team, the classification of medicinal plants was accomplished with the use of Back
A study on the classification of medicinal plants also was carried out by Venkataraman and
Mangayarkarasi (2017). They utilized the Histogram of Oriented Gradient (HoG)- Support
Vector Machine for their research (SVM) [24]. Moreover, Gao and Lin (2018) used the
OTSU approach in their classification of leaf plants for medicinal purposes. The OTSU
approach involves using each manually marked edge point of the leaf to precisely detect the
following outside points of the leaf located next to it [25]. The ExG-ExR index and the
Logistic Regression (LR) classifier were utilized by Sivaranjani et al. to classify medicinal
plants, and the researchers discovered that this method was successful. Based on each
extracted leaf's color and texture characteristics, the Logistic Regression (LR) classifier is
In this study, we propose transfer learning models VGG16, VGG19, and MobileNetV2 to
study the distinguishing features to identify medicinal plant leaves according to the dataset
that has been collected. We also improved algorithm using finetuning strategy and analysed a
comparison with and without a fine-tuning strategy to transfer learning model’s performance.
automated recognition systems using machine learning has gained significant traction.
Transfer Learning
trained CNN models, which have been trained on large-scale datasets such as
labeled dataset for the target task is limited, as it enables the model to learn
meaningful representations from the source domain and adapt them to the
target domain.
xiv
Classification Of Indian Medicinal Leaves Using Transfer Learning Based Convolutional Neural
Networks
in medicinal plant leaf recognition involves several stages. First, the pre-trained
models are initialized with weights learned from the ImageNet dataset. Next, the
fully connected layers of the CNN architectures are modified to accommodate the
on limited labeled data, these techniques enable the development of accurate and
into the methodology, experiments, and results obtained through the application of
Medicinal plants have been extensively used in traditional medicine for centuries due
to their therapeutic properties. Identifying these plants accurately is crucial for various
xv
Classification Of Indian Medicinal Leaves Using Transfer Learning Based Convolutional Neural
Networks
recognition systems based on deep learning models offer a promising and reliable
solution, but often require large labeled datasets for training, which can be
Transfer learning has emerged as a powerful technique in deep learning, where pre-
specific datasets to adapt to specific recognition tasks. In this context, the utilization
recognition tasks.
ensure uniformity in size, color, and orientation, and partition the dataset into
models on the medicinal plant leaves dataset to adapt them to the recognition
task.
validation and test sets. Compare the performance of VGG16, Xception, and
trained model to enable users to upload images of medicinal plant leaves for
recognition. Test the deployed model on real-world data and assess its
xvii
Classification Of Indian Medicinal Leaves Using Transfer Learning Based Convolutional Neural
Networks
CHAPTER 2
LITERATURE SURVEY
xviii
Classification Of Indian Medicinal Leaves Using Transfer Learning Based Convolutional Neural
Networks
2 LITERATURE SURVEY
Das, A., & Mandal, D. (2020). Medicinal Plant Leaf Identification Using
This research aimed to improve the automatic identification of medicinal plants due to
their growing popularity and increased requests for artisanal and industrial uses and
can have a special place in plant science and even industrial markets for identifying
and classifying varied medicinal plants separately from other non-edible plants.
Chaudhary, S., & Pande, M. (2021). Medicinal plant leaf recognition using deep
additional resources.
VIII. C ONCLUSIONS AND
F UTURE W ORK
This study has demonstrated the
effectiveness of a deep
learning-based method using a
convolutional neural network
(CNN) to accurately recognize
medicinal plants
Fig. 3. Proposed Model Architecture in
Python
categorical cross-entropy loss
function using the Adam
optimizer. The accuracy is used as
a metric to evaluate
the performance of the model.
VII. R ES ULTS A ND A N ALYS IS
The proposed approach utilizes a
convolutional neural net-
xxiii
Classification Of Indian Medicinal Leaves Using Transfer Learning Based Convolutional Neural
Networks
further integrating the identified plant witha large language model to provide
thebenefits and side effects of the plant, and instructions on howto use it in both
English and the local language. Overall, thestudy supports the continued development
and integration ofdeep learning in the recognition of herbal plants, which has
xxviii
Classification Of Indian Medicinal Leaves Using Transfer Learning Based Convolutional Neural
Networks
X.-F. Wang, D.-S. Huang, J.-X. Du, H. Xu, and L. Heutte, “Classification of
plant leaf images with complicated background,” Appl. Math. Comput., vol. 205,
In this paper, the Mask R-CNN model and the VGG16 model are used to segment and
classify leaf images with multiple targets and a complicated background. More than
4000 images were used for model training and testing. The results show that the
average ME of segmentation is up to 1.15% using the Mask R-CNN model, and the
average classification accuracy is up to 91.5% using the VGG16 model. This shows
that the Mask R-CNN model and the VGG16 model could reliably be used in the
algorithms and a greater number of data, which may lead to a better result. Besides
the algorithm’s development, improving the image quality with better devices can
also contribute to better performance. What is more, it will be possible to segment and
Complicated Background Using Deep Learning,” Agronomy, vol. 10, no. 11, p.
In this paper, the segmentation and classification of leaf images with a complicated
background using deep learning are studied. First, more than 2500 leaf images with a
complicated background are collected and artificially labeled with target pixels and
xxix
Classification Of Indian Medicinal Leaves Using Transfer Learning Based Convolutional Neural
Networks
Convolutional Neural Network (Mask R-CNN) to train a model for leaf segmentation.
Then, a training set that contains more than 1500 training images of 15 species is fed
into a very deep convolutional network with 16 layers (VGG16) to train a model for
leaf classification. The best hyperparameters for these methods are found by
comparing a variety of parameter combinations. The results show that the average
Misclassification Error of 80 test images using Mask R-CNN is 1.15%. The average
accuracy value for the leaf classification of 150 test images using VGG16 is up to
91.5%. This indicates that these methods can be used to segment and classify the leaf
image with a complicated background effectively. It could provide a reference for the
Extended Golomb-rice Entropy Coder,” Int. J. Intell. Eng. Syst., vol. 15, no. 2,
compression mechanism using CFA for wireless camera networks with QCA
context module to lessen the hardware resource utilization. The extensive simulation
xxx
Classification Of Indian Medicinal Leaves Using Transfer Learning Based Convolutional Neural
Networks
compared to state-of-art approaches with less area i.e., 3700 gate count, and reduced
power about 1.02 mW. It also outperformed the existing approaches with image
quality metrics such as 18.78dB of PSNR, 152.3 of FOM, and 29.3 of CR. This work
can be extended to implement the joint blur detection and compression operations
using IEGREC coding. The blur detection can prevent the attacks generated in the
compression process.
xxxi
Classification Of Indian Medicinal Leaves Using Transfer Learning Based Convolutional Neural
Networks
CHAPTER 3
SYSTEM ANALYSIS
xxxii
Classification Of Indian Medicinal Leaves Using Transfer Learning Based Convolutional Neural
Networks
3 SYSTEM ANALYSIS
demanding the creation of resilient systems adept at precisely discerning plant species
distinguishing among various types of medicinal leaves. Such a system holds promise
research.
approach enables the extraction of intricate patterns and subtle nuances from leaf
leaves aligns with the broader goal of harnessing technology to preserve traditional
properties, our system holds the potential to revolutionize the field of herbal medicine
Existing systems in the domain of plant species recognition and leaf classification
provide a rich foundation upon which to build our project. These systems have
effective strategies for our endeavor. Here's an overview of key components and
xxxiv
Classification Of Indian Medicinal Leaves Using Transfer Learning Based Convolutional Neural
Networks
Our proposed system for classifying Indian medicinal leaves integrates transfer
accurately identify and categorize medicinal plant species. Key components and
xxxv
Classification Of Indian Medicinal Leaves Using Transfer Learning Based Convolutional Neural
Networks
3.4 Modules
In the context of our project, essential modules for the classification of Indian
Cleans and preprocesses the collected leaf images dataset for training and
testing.
xxxvi
Classification Of Indian Medicinal Leaves Using Transfer Learning Based Convolutional Neural
Networks
Trains pre-trained CNN models on the medicinal leaf dataset, fine-tuning the
xxxvii
Classification Of Indian Medicinal Leaves Using Transfer Learning Based Convolutional Neural
Networks
CHAPTER 4
SYSTEM REQUIREMENTS
xxxviii
Classification Of Indian Medicinal Leaves Using Transfer Learning Based Convolutional Neural
Networks
4 SYSTEM REQUIREMENTS
Requirements are essential constraints and specifications that define the functionality,
performance, and behavior of a system. They serve as the foundation for system
meet specific objectives. The following requirements are crucial to consider during
1. Functional requirements
2. Non-Functional requirements
3. Technical requirements
Hardware requirements
Software requirements
The Functional Requirements section of our software specification outlines the core
libraries such as scikit-learn, pandas, NumPy, Matplotlib, and Seaborn are integral to
the system's operation. These libraries provide crucial tools for machine learning
tasks such as model training, data preprocessing, feature extraction, and result
visualization effectively.
xxxix
Classification Of Indian Medicinal Leaves Using Transfer Learning Based Convolutional Neural
Networks
I. Problem define
Software Requirements:
Hardware requirements:
RAM: minimum 2 GB
Functional requirements delineate the specific capabilities and behaviors that the
software system must exhibit. In the context of our project, the functional
Utilizes APIs, web scraping, and data crawling techniques to collect images
Cleans and transforms the collected image data to prepare it for analysis.
Removes noise, handles missing data, and normalizes images for consistency.
Utilizes transfer learning with pretrained CNN models like VGG16, Xception,
and EfficientNetV2.
Extracts hierarchical features from the medicinal leaf images to represent them
effectively.
5. Non-Functional Requirements
and performance.
Accessibility:
xlii
Classification Of Indian Medicinal Leaves Using Transfer Learning Based Convolutional Neural
Networks
Guidelines).
Availability:
Security:
Performance:
Interoperability:
6. Performance Requirements
Ensures that the system responds promptly to user interactions, with minimal
latency.
6.2 Throughput:
6.3 Scalability:
7. Feasibility Study
Lastly, the economic feasibility analysis explores the project's financial viability,
streams
operational standpoint. Ensures that the system aligns with user expectations
feasibility aspects, the project aims to develop a robust and effective solution
xlv
Classification Of Indian Medicinal Leaves Using Transfer Learning Based Convolutional Neural
Networks
CHAPTER 5
METHODOLOGY
xlvi
Classification Of Indian Medicinal Leaves Using Transfer Learning Based Convolutional Neural
Networks
5.1. Dataset
The image acquisition process in our system is designed to be versatile and robust,
acquisition models. Unlike traditional methods that may be limited by factors such as
seasonality, time of day, lighting conditions, and background noise, our approach
ensures that images of plants are acquired invariant to these variables. This flexibility
makes our system well-suited for real-time plant analysis investigations, where timely
and accurate data acquisition is crucial for decision-making and research purposes.
The compilation of Indian medicinal plant species included in our dataset is the result
the medicinal values associated with indigenous plant species, in collaboration with
botanists, phytochemists, and leveraging data sources from reputable institutions such
as the Botanical Survey of India, we have curated a diverse and representative list of
Figure 5.1 provides a detailed overview of the Indian medicinal plant species that
have contributed to our work. This list encompasses a wide range of plant species
known for their medicinal properties, spanning various botanical families, geographic
regions, and traditional healing practices. Each plant species included in the dataset
offers unique therapeutic benefits and has been selected based on its relevance to
properties.
xlvii
Classification Of Indian Medicinal Leaves Using Transfer Learning Based Convolutional Neural
Networks
By incorporating a diverse array of Indian medicinal plant species into our dataset, we
aim to facilitate research, education, and innovation in the field of herbal medicine
xlviii
Classification Of Indian Medicinal Leaves Using Transfer Learning Based Convolutional Neural
Networks
several steps to prepare the raw leaf images for input into the neural network. Here's a
Data Collection:
sample across different species. Images can be obtained through various sources
Annotate each image with its corresponding class label (i.e., the medicinal plant
species).
Data Augmentation:
Augment the dataset to increase its size and variability, which helps improve the
Ensure that augmented images retain their original semantic meaning (e.g., a
xlix
Classification Of Indian Medicinal Leaves Using Transfer Learning Based Convolutional Neural
Networks
flipped image of a leaf should still represent the same plant species).
Image Resizing:
Resize all images to a uniform size suitable for input into the neural network.
Commonly used sizes include 224x224 or 299x299 pixels, depending on the input
EfficientNetV2).
Normalization:
training.
Typically, pixel values are scaled to the range [0, 1] or [-1, 1].
Train-Validation-Test Split:
Split the dataset into three subsets: training, validation, and testing.
The training set is used to train the model, the validation set is used for
hyperparameter tuning and model evaluation during training, and the test set is
Data Loading:
Shuffle the training data to introduce randomness and prevent the model from
l
Classification Of Indian Medicinal Leaves Using Transfer Learning Based Convolutional Neural
Networks
Initialize the pre-trained CNN model with weights learned from a large dataset
(e.g., ImageNet).
Freeze the weights of initial layers (excluding the classification layers) to prevent
neural networks. This ensures that the model can effectively learn meaningful patterns
In the model development phase, our primary focus lies in adapting pre-trained
plant leaf recognition. Given the inherent complexities of leaf imagery and the
features from the convolutional layers of these pre-trained models. This feature
li
Classification Of Indian Medicinal Leaves Using Transfer Learning Based Convolutional Neural
Networks
extraction process equips our models with the ability to discern intricate patterns and
strategy tailored to the unique characteristics of each CNN architecture. This strategy
strikes a delicate balance between leveraging the prior knowledge embedded in the
A key aspect of our approach involves customizing the output layer of each model to
align with the number of classes in our dataset. This ensures compatibility for
leaves into their respective classes. By meticulously fine-tuning the pre-trained CNN
efforts.
all three architectures show promise for the task of medicinal plant leaf
lii
Classification Of Indian Medicinal Leaves Using Transfer Learning Based Convolutional Neural
Networks
liii
Classification Of Indian Medicinal Leaves Using Transfer Learning Based Convolutional Neural
Networks
simplicity and effectiveness in image recognition tasks. Introduced in the paper "Very
Simonyan and Andrew Zisserman, VGG16 comprises a total of 16 layers, hence its
name. These layers are organized into a sequence of convolutional and fully
connected layers, with convolutional layers responsible for feature extraction and
The key characteristic of VGG16 is its uniform architecture, where the convolutional
layers all have a small receptive field of 3x3 pixels and a stride of 1. This uniformity
reducing spatial dimensions and extracting increasingly abstract features as the data
objects and patterns in images with high accuracy. Its success has led to widespread
liv
Classification Of Indian Medicinal Leaves Using Transfer Learning Based Convolutional Neural
Networks
popular choice for image recognition tasks, serving as a benchmark for evaluating the
Methodology
pooling layers, with fully connected layers at the end for classification. The
convolutional layers learn hierarchical features from input images, while the fully
Features of VGG16
layers, allowing it to learn intricate patterns and features from images effectively.
Transfer Learning: VGG16 is often used for transfer learning, where the pre-
applications.
Parameters in VGG16
Input shape
Why VGG16?
VGG16's deep architecture and uniform structure make it well-suited for learning
recognition tasks.
lvi
Classification Of Indian Medicinal Leaves Using Transfer Learning Based Convolutional Neural
Networks
5.3.2 Xception:
the creator of the Keras deep learning library. It draws inspiration from the Inception
The key innovation of Xception lies in its use of depthwise separable convolutions,
This separation allows the network to capture spatial relationships more efficiently
architectures.
depthwise separable convolution layers followed by global average pooling and fully
from input images effectively. Additionally, the network employs skip connections to
facilitate gradient flow during training and alleviate the vanishing gradient problem,
versatility and scalability make it a valuable asset for researchers and practitioners in
Methodology
layers.
Features of Xception:
images effectively.
Transfer Learning: Xception is well-suited for transfer learning tasks, where the pre-
Parameters in Xception
Input shape
Depth multiplier
Activation functions
lviii
Classification Of Indian Medicinal Leaves Using Transfer Learning Based Convolutional Neural
Networks
Why Xception?
lix
Classification Of Indian Medicinal Leaves Using Transfer Learning Based Convolutional Neural
Networks
5.3.3 EfficientNetV2:
efficiency and accuracy by scaling the network's depth, width, and resolution.
simultaneously. This approach ensures that the network's depth, width, and resolution
blocks. These building blocks enhance the network's representational capacity and
enable it to capture more complex patterns and features from input images.
These techniques improve the robustness and generalization capability of the network,
scalability. Its advancements make it a valuable tool for various computer vision
content is crucial.
Methodology
Features of EfficientNetV2
optimize the depth, width, and resolution of the neural network architecture. This
Model Architecture
building blocks, including inverted residual blocks and linear bottleneck layers.
improvements.
overfitting.
lxi
Classification Of Indian Medicinal Leaves Using Transfer Learning Based Convolutional Neural
Networks
Parameters in EfficientNetV2
Number of layers
Activation functions
Regularization parameters
Why EfficientNetV2?
lxii
Classification Of Indian Medicinal Leaves Using Transfer Learning Based Convolutional Neural
Networks
that its deployment translates into tangible benefits in terms of task performance and
compelling choice for practitioners seeking to maximize the impact of their machine
convolutional neural networks, setting new standards for model efficiency and
performance. Its ability to strike a delicate balance between resource utilization and
practitioners alike, poised to drive innovation and unlock new possibilities in the field
of deep learning.
lxiii
Classification Of Indian Medicinal Leaves Using Transfer Learning Based Convolutional Neural
Networks
different pre-trained models for feature extraction on medicinal plant image datasets.
The comparative analysis focuses on three widely used models: VGG16, Xception,
lxiv
Classification Of Indian Medicinal Leaves Using Transfer Learning Based Convolutional Neural
Networks
Fig 5.4.Plots of model loss of (a) Xception, (b) VGG16, (c) EfficientNetV2
computational resources.
architecture to match the number of classes in the medicinal plant leaf dataset,
lxv
Classification Of Indian Medicinal Leaves Using Transfer Learning Based Convolutional Neural
Networks
generalization.
In the training and evaluation phase, we embark on the iterative process of training
our modified CNN models and assessing their performance. Guided by principles of
we closely monitor the models' performance on the validation set, employing early
rate during training, enhancing the models' adaptability to varying gradients. Upon
completion of the training process, we subject our models to rigorous evaluation using
analyzing confusion matrices and ROC curves, we gain insights into the models'
Training Procedure: Train the modified CNN models using the training
predictions and identify classes with high confusion rates, providing insights
curves and area under the curve (AUC) scores to assess the models' ability to
5.6. Algorithms
Random Forest:
outputs the mode of the classes of the individual trees. In your project, Random
Forest can be applied by extracting relevant features from leaf images and using
them as input to train the Random Forest classifier. Features such as leaf shape,
texture, and color can be extracted using image processing techniques. The
algorithm can handle a large number of input features and is robust to overfitting,
lxviii
Classification Of Indian Medicinal Leaves Using Transfer Learning Based Convolutional Neural
Networks
classification tasks. It works by finding the hyperplane that best separates the
classes in the feature space. In your project, SVM can be utilized by transforming
the extracted features from leaf images into a high-dimensional space and finding
KNN is a simple yet effective classification algorithm that classifies new instances
based on the majority class of their k nearest neighbors in the feature space. In
your project, KNN can be applied by first extracting relevant features from leaf
images and then computing the similarity between each pair of images. During
classification, the class label of a test image can be determined based on the class
labels of its nearest neighbors. KNN is particularly useful when the underlying
data distribution is not well-defined and can handle both linear and non-linear
decision boundaries.
Logistic Regression:
lxix
Classification Of Indian Medicinal Leaves Using Transfer Learning Based Convolutional Neural
Networks
decision boundary in the feature space. Features extracted from leaf images can be
used as input to train the logistic regression model, and the model can output the
Decision Trees:
Decision Trees are intuitive and interpretable models that recursively partition the
feature space into regions based on feature values. They make predictions by
traversing the tree from the root to the leaf nodes, where each leaf node
corresponds to a class label. In your project, decision trees can be applied by using
trees are robust to outliers and can handle both numerical and categorical features,
making them suitable for classifying medicinal leaves with diverse characteristics.
lxx
Classification Of Indian Medicinal Leaves Using Transfer Learning Based Convolutional Neural
Networks
Deep learning architectures like convolutional neural networks (CNNs) are state-
of-the-art models for image classification tasks. In your project, you are already
This section defines the metrics (or KPIs, Key Performance Indicators) used to be
Accuracy
as follows:
(1)
where:
TP: True Positive. Result in which the model correctly predicts the positive class.
FP: False Positive. Result in which the model incorrectly predicts the positive
class.
TN: True Negative. Result in which the model correctly predicts the negative class.
FN: False Negative. Result in which the model incorrectly predicts the negative
lxxi
Classification Of Indian Medicinal Leaves Using Transfer Learning Based Convolutional Neural
Networks
class.
Kappa statistic
of machine learning, it refers to the actual class and the class expected by the
(2)
where:
data to compute the probabilities that each observer randomly ranks each
raters other than what would be expected by chance (as defined by Pr (e)),
then κ = 0.
Logarithmic Loss
(3)
where:
pij, indicates the probability that the sample i belongs to the class j.
Error
The error gives an indication of how far the predictions are from the actual
output. There are two formulas: Mean Absolute Error (MAE) and Mean
(4)
(5)
where:
Sensitivity
The sensitivity of a model (or the ratio of true positives) measures the
positives is the sum of those that were correctly classified and those that were
lxxiii
Classification Of Indian Medicinal Leaves Using Transfer Learning Based Convolutional Neural
Networks
(6)
where:
TP: True Positive. Result in which the model correctly predicts the positive
class.
TN: True Negative. Result in which the model correctly predicts the negative
class.
FN: False Negative. Result in which the model incorrectly predicts the
negative class.
Specificity
The specificity of a model (or the ratio of true negatives) measures the
negatives is the sum of those that were correctly classified and those that were
(7)
where:
TP: True Positive. Result in which the model correctly predicts the positive class.
FP: False Positive. Result in which the model incorrectly predicts the positive class.
TN: True Negative. Result in which the model correctly predicts the negative class.
Precision
are actually positive. That is, when a model predicts values as positive. It is
calculated as follows:
(8)
where:
TP: True Positive. Result in which the model correctly predicts the positive
class.
TN: True Negative. Result in which the model correctly predicts the negative
class.
FN: False Negative. Result in which the model incorrectly predicts the
negative class.
Recall
Recall is defined as the number of correctly classified positives over the total
calculated as follows:
(9)
where:
TP: True Positive. Result in which the model correctly predicts the positive
class.
FP: False Positive. Result in which the model incorrectly predicts the positive
class.
lxxv
Classification Of Indian Medicinal Leaves Using Transfer Learning Based Convolutional Neural
Networks
TN: True Negative. Result in which the model correctly predicts the negative
class.
F-measure
recall into a value called F-measure (also called F1 score or F-score). This
used for ratios. This type of averaging is used instead of arithmetic, since
precision and recall are expressed as proportions between 0 and 1, which can
lxxvi
Classification Of Indian Medicinal Leaves Using Transfer Learning Based Convolutional Neural
Networks
CHAPTER 6
SYSTEM DESIGN
lxxvii
Classification Of Indian Medicinal Leaves Using Transfer Learning Based Convolutional Neural
Networks
convolutional neural networks (CNNs), the system architecture plays a pivotal role in
connected layers, and an output layer. These layers work in tandem to extract
hierarchical features from input leaf images and map them to the corresponding
have been trained on large-scale datasets like ImageNet. By initializing the network
lxxviii
Classification Of Indian Medicinal Leaves Using Transfer Learning Based Convolutional Neural
Networks
with weights learned from these datasets, the system can effectively capture generic
features from natural images, enhancing its ability to classify medicinal plant leaves
Moreover, fine-tuning layers of the pre-trained CNN models allows for the adaptation
process involves adjusting the weights of certain layers during training on the target
dataset while keeping the weights of earlier layers frozen to retain the learned generic
scaling are often applied to artificially increase the diversity of the training dataset
and improve the robustness of the model against variations in leaf images. The final
layers of the architecture are typically configured to output class probabilities using
softmax activation, enabling the classification of medicinal plant leaves into their
respective categories.
Furthermore, the system architecture may include mechanisms for model evaluation
and optimization to ensure the reliability and scalability of the classification system.
methods such as grid search or random search may also be utilized to optimize the
allowing users to easily access the classification functionality for identifying Indian
lxxix
Classification Of Indian Medicinal Leaves Using Transfer Learning Based Convolutional Neural
Networks
A use case diagram in the Unified Modeling Language (UML) is a type of behavioral
lxxx
Classification Of Indian Medicinal Leaves Using Transfer Learning Based Convolutional Neural
Networks
Fig 6.2.1 Use Case Diagram from Data loading and Exploratio
lxxxi
Classification Of Indian Medicinal Leaves Using Transfer Learning Based Convolutional Neural
Networks
Use Cases:
User/Administrator:
Login: The user or administrator logs into the system using their credentials to
Upload Image: Users upload images of medicinal leaves to the system for
classification.
Extract Features from Image: The system extracts relevant features from the
uploaded images, such as leaf shape, texture, and color, to prepare them for
classification.
Train CNN Model: The system trains the CNN model using the extracted
Evaluate CNN Model: After training, the system evaluates the performance
of the CNN model using validation datasets to assess its accuracy and
generalization capability.
Predict Plant Species: Users can input new images of medicinal leaves, and
the system utilizes the trained CNN model to predict the species of the plants
Extract Features from Image: The prediction model extracts features from
Train CNN Model: The prediction model trains the CNN model using the
Evaluate CNN Model: After training, the prediction model evaluates the
performance of the CNN model using validation datasets to assess its accuracy
Predict Plant Species: The prediction model utilizes the trained CNN model
users.
the predicted plant species along with confidence scores, facilitating accurate
Associations:
by performing various use cases such as login, uploading datasets, and viewing
predicted outputs. Prediction Model to Use Cases: The prediction model performs
tasks related to feature extraction, providing features to the ML model, predicting and
83
Classification Of Indian Medicinal Leaves Using Transfer Learning Based Convolutional Neural
Networks
analyzing datasets, and displaying predicted outputs and visualizations. This use case
components in the online payment fraud detection system using machine learning.
diagram that shows how processes operate with one another and in what order. It is a
85
Classification Of Indian Medicinal Leaves Using Transfer Learning Based Convolutional Neural
Networks
Interactions:
User Interface (UI): The interface through which the user interacts with
the system.
images.
before classification.
classification.
classification process.
Events:
The User Interface forwards the uploaded image data to the Input Image
component.
The Input Image component sends the image data to the Image
preprocessed image.
The Feature Extraction component extracts features from the image data.
actions, and decisions. With built-in support for choice, iteration, and concurrency,
these diagrams offer a comprehensive view of the business and operational processes
within a system.
At their core, activity diagrams encapsulate the overall flow of control within a
system or process, delineating the sequence of activities and the transitions between
them. By leveraging symbols and notations such as actions, decisions, forks, joins,
and swimlanes, these diagrams provide a clear and intuitive representation of complex
87
Classification Of Indian Medicinal Leaves Using Transfer Learning Based Convolutional Neural
Networks
workflows.
behavior. Whether used during the design phase to conceptualize workflows or during
crucial role in the software development lifecycle, ensuring clarity, coherence, and
88
Classification Of Indian Medicinal Leaves Using Transfer Learning Based Convolutional Neural
Networks
classification.
Image Preprocessing:
Activity: Preprocess the uploaded image to enhance its quality and prepare
it for classification.
Resize image: Ensure the image dimensions are suitable for processing.
Feature Extraction:
learning techniques.
Classification:
89
Classification Of Indian Medicinal Leaves Using Transfer Learning Based Convolutional Neural
Networks
Display Results:
that represents the static structure of a system by showing the classes of the system,
their attributes, methods, and the relationships among them. It provides a graphical
90
Classification Of Indian Medicinal Leaves Using Transfer Learning Based Convolutional Neural
Networks
Input Image:
classification.
Image Preprocessing:
classification.
91
Classification Of Indian Medicinal Leaves Using Transfer Learning Based Convolutional Neural
Networks
Classification:
classification.
Performance Measurement:
classification system.
92
Classification Of Indian Medicinal Leaves Using Transfer Learning Based Convolutional Neural
Networks
Feature Extraction:
images.
Clustering Image:
analysis.
similar images.
and visualization
93
Classification Of Indian Medicinal Leaves Using Transfer Learning Based Convolutional Neural
Networks
CHAPTER 7
IMPLEMENTATION AND
EVALUATION
94
Classification Of Indian Medicinal Leaves Using Transfer Learning Based Convolutional Neural
Networks
7 IMPLEMENTATION
The implementation of our medicinal plant classification project involved several key
and Keras for deep learning, along with additional libraries for data manipulation and
the dataset and performed data exploration. This included plotting sample images for
conducted a train-test split to prepare the data for model training and evaluation.
Augmentation techniques were applied to enhance the diversity of the training dataset
and improve model generalization. We then imported the VGG19 pre-trained model
for transfer learning, leveraging its learned representations for feature extraction. The
model architecture was defined, and a callback for early stopping was implemented to
prevent overfitting. After training the model, we evaluated its performance on the test
dataset using various evaluation metrics such as precision, recall, and F1-score.
The utilization of transfer learning techniques played a pivotal role in our approach,
with the VGG19 pre-trained model serving as the backbone for feature extraction. By
leveraging the learned representations from the VGG19 model, we were able to
classification tasks, thereby reducing the need for extensive training on limited
datasets
95
Classification Of Indian Medicinal Leaves Using Transfer Learning Based Convolutional Neural
Networks
96
Classification Of Indian Medicinal Leaves Using Transfer Learning Based Convolutional Neural
Networks
7.1 Dataset
Indian medicinal plant images that could serve as a valuable resource for various
research and analysis endeavors. Unlike conventional image acquisition methods, our
background interference.
One of the key strengths of our dataset is its robustness in capturing images of
medicinal plants across different seasons, times of day, and environmental conditions.
By ensuring variability in these factors, we aimed to create a dataset that reflects the
diverse and dynamic nature of plant growth and development in real-world scenarios.
This variability enhances the generalizability and applicability of our dataset to a wide
To compile the list of Indian medicinal plant species included in our dataset, we
plant species known for their therapeutic properties and traditional medicinal uses in
the Indian context. Additionally, we utilized data sources from reputable institutions
such as the Botanical Survey of India to validate and enrich our dataset with accurate
botanical information.
Figure 6.1 provides a detailed overview of the Indian medicinal plant species that
contributed to our dataset. This list serves as a valuable reference for researchers,
97
Classification Of Indian Medicinal Leaves Using Transfer Learning Based Convolutional Neural
Networks
botanists, and enthusiasts interested in exploring the rich diversity of medicinal plants
values, our dataset aims to facilitate interdisciplinary research and promote the
98
Classification Of Indian Medicinal Leaves Using Transfer Learning Based Convolutional Neural
Networks
99
Classification Of Indian Medicinal Leaves Using Transfer Learning Based Convolutional Neural
Networks
MaxPooling2D function to get the maximum pixel value to the next layer
100
Classification Of Indian Medicinal Leaves Using Transfer Learning Based Convolutional Neural
Networks
In the process of developing our medicinal plant classification models, one crucial
Visualizing the model architecture provides valuable insights into the network's
structure, including the arrangement of layers, the flow of data through the network,
To plot the model architecture, we utilized various visualization techniques and tools
available in popular deep learning frameworks such as TensorFlow and Keras. These
The plotted model architecture typically includes detailed information about each
layer in the network, such as the type of layer (e.g., convolutional, pooling, dense),
the number of neurons or filters, the activation functions used, and any additional
for understanding how the model processes input data and makes predictions.
stakeholders to discuss and refine the network design effectively. By visualizing the
101
Classification Of Indian Medicinal Leaves Using Transfer Learning Based Convolutional Neural
Networks
and evaluation of deep learning models for medicinal plant classification. It provides
a clear and intuitive depiction of the network structure, aiding in model interpretation,
102
Classification Of Indian Medicinal Leaves Using Transfer Learning Based Convolutional Neural
Networks
103
Classification Of Indian Medicinal Leaves Using Transfer Learning Based Convolutional Neural
Networks
neural network (CNN) architectures for feature extraction tasks on our medicinal
plant image datasets. Our primary objective was to identify the most suitable model
that could effectively capture and represent the intricate visual patterns and
models: VGG16, VGG19, and MobileNetV2. These models are renowned for their
workflows to extract features from our medicinal plant image datasets using each of
For each pre-trained model, we meticulously fine-tuned the feature extraction process
the layers for feature extraction, and selecting appropriate parameters to tailor the
Upon extracting features from the medicinal plant images using VGG16, VGG19, and
104
Classification Of Indian Medicinal Leaves Using Transfer Learning Based Convolutional Neural
Networks
features and their underlying representations. Visualization methods such as t-SNE (t-
process.
trained CNN model that offered the optimal balance of feature richness,
characteristics of medicinal plant images. The insights gained from this feature
extraction model phase laid the groundwork for subsequent stages of our project,
including classification.
105
Classification Of Indian Medicinal Leaves Using Transfer Learning Based Convolutional Neural
Networks
106
Classification Of Indian Medicinal Leaves Using Transfer Learning Based Convolutional Neural
Networks
The results of the medicinal plant classification process are presented. This includes
showcasing the actual and predicted values obtained from the classification model.
The visualization provides insights into the model's performance and its ability to
Actual plant species serve as ground truth labels against which the model predictions
are evaluated, while predicted values correspond to the plant species inferred from the
input images.
such as accuracy, precision, recall, F1-score, and classification report are computed to
The visualization aids in visually analyzing the agreement between actual and
predicted values across different plant species, enabling stakeholders to evaluate the
107
Classification Of Indian Medicinal Leaves Using Transfer Learning Based Convolutional Neural
Networks
108
Classification Of Indian Medicinal Leaves Using Transfer Learning Based Convolutional Neural
Networks
CHAPTER 8
SOURCE CODE
109
Classification Of Indian Medicinal Leaves Using Transfer Learning Based Convolutional Neural
Networks
8 SOURCE CODE
# Importing Libraries
import os
import matplotlib.pyplot as plt
import numpy as np
import PIL
import tensorflow as tf
import tensorflow_datasets as tfdf
from tensorflow import keras
from tensorflow.keras import layers, models
from tensorflow.keras.models import Sequential
# Define Constants
BATCH_SIZE = 32
img_height = 224
img_width = 224
CHANNEL = 3
data_dir = r"F:\Project\archive\Indian Medicinal Leaves Image Datasets\Medicinal
Leaf dataset"
# Load Dataset
dataset = tf.keras.utils.image_dataset_from_directory(
data_dir,
shuffle=True,
image_size=(img_height, img_width),
batch_size=BATCH_SIZE
)
class_names = dataset.class_names
ds_size = len(ds)
if shuffle:
ds = ds.shuffle(shuffle_size, seed=12)
train_ds = ds.take(train_size)
val_ds = ds.skip(train_size).take(val_size)
test_ds = ds.skip(train_size).skip(val_size)
110
Classification Of Indian Medicinal Leaves Using Transfer Learning Based Convolutional Neural
Networks
# Data Preprocessing
resize_and_rescale = tf.keras.Sequential([
layers.experimental.preprocessing.Resizing(img_height, img_height),
layers.experimental.preprocessing.Rescaling(1./255),])
data_augmentation = tf.keras.Sequential([
layers.experimental.preprocessing.RandomFlip("horizontal"),
layers.experimental.preprocessing.RandomRotation(0.2),
layers.experimental.preprocessing.RandomZoom(0.3),])
train_ds = train_ds.map(
lambda x, y: (data_augmentation(x, training=True), y)
).prefetch(buffer_size=tf.data.AUTOTUNE)
# Model Definition
feature_extractor = tf.keras.applications.VGG16(input_shape=(img_height,
img_height, 3),
include_top=False,
weights="imagenet")
model = keras.Sequential([
resize_and_rescale,
layers.BatchNormalization(),
feature_extractor,
layers.BatchNormalization(),
layers.Flatten(),
layers.Dense(256, activation='relu'),
layers.Dropout(0.2),
layers.Dense(80, activation='softmax')])
model.compile(
optimizer=tf.keras.optimizers.Adam(learning_rate=1e-4),
loss=tf.keras.losses.SparseCategoricalCrossentropy(from_logits=False),
metrics=['accuracy'])
# Model Training
earlystopping = tf.keras.callbacks.EarlyStopping(monitor='val_accuracy',
111
Classification Of Indian Medicinal Leaves Using Transfer Learning Based Convolutional Neural
Networks
model_history = model.fit(
train_ds,
validation_data=val_ds,
epochs=150,
callbacks=callback_list,
verbose=1
)
# Model Evaluation
model.evaluate(test_ds)
# Save Model
model.save("vgg16_extractor_1.keras")
plt.figure(figsize=(8, 8))
plt.subplot(1, 2, 1)
plt.plot(epochs_range, acc, label='Training Accuracy')
plt.plot(epochs_range, val_acc, label='Validation Accuracy')
plt.legend(loc='lower right')
plt.title('Training and Validation Accuracy')
plt.subplot(1, 2, 2)
plt.plot(epochs_range, loss, label='Training Loss')
plt.plot(epochs_range, val_loss, label='Validation Loss')
plt.legend(loc='upper right')
plt.title('Training and Validation Loss')
plt.show()
112
Classification Of Indian Medicinal Leaves Using Transfer Learning Based Convolutional Neural
Networks
CHAPTER 9
SYSTEM TESTING
113
Classification Of Indian Medicinal Leaves Using Transfer Learning Based Convolutional Neural
Networks
9 TESTING
Testing is a critical phase in the development lifecycle of any software project,
ensuring that the system functions as intended and meets the specified requirements.
Software testing involves verifying the functionality, reliability, and accuracy of the
System Testing:
System testing involves testing the system as a whole to ensure that all
phases such as module testing, integration testing, acceptance testing, and user
Module Testing:
system in isolation. This ensures that each module functions correctly and
114
Classification Of Indian Medicinal Leaves Using Transfer Learning Based Convolutional Neural
Networks
Integration Testing:
Acceptance Testing:
Acceptance testing involves testing the system with end-users to ensure that it
meets their requirements and expectations. This includes verifying that the
system fulfills the original goals and objectives established during the analysis
phase
Test cases play a crucial role in ensuring the effectiveness and reliability of the
medicinal plant classification system. These test cases encompass diverse scenarios
and conditions that thoroughly evaluate the system's functionality, performance, and
Input data validation test cases are designed to verify the system's ability to handle
various types of input data, ensuring that it can process different formats of leaf
images accurately. Algorithm testing test cases assess the performance and accuracy
correctly identify and categorize medicinal plant species based on leaf characteristics
115
Classification Of Indian Medicinal Leaves Using Transfer Learning Based Convolutional Neural
Networks
involve processing large volumes of leaf images to evaluate the system's performance
under varying workloads and conditions. Error handling test cases validate the
system's ability to detect and gracefully handle errors or anomalies that may occur
during the classification process. This includes scenarios such as corrupted image
Reporting and visualization test cases ensure that the system generates informative
and visually appealing reports and visualizations of the classified plant images. These
tests assess the accuracy, completeness, and clarity of the generated reports, providing
compatibility test cases verify the seamless integration of the classification system
visualization tools. These tests ensure that the system can effectively communicate
and compatibility.
Input data validation test cases are designed to ensure that the system can
various formats of image data, such as JPEG, PNG, or BMP, and verifying
Machine learning algorithm test cases focus on evaluating the accuracy and
116
Classification Of Indian Medicinal Leaves Using Transfer Learning Based Convolutional Neural
Networks
System performance test cases assess the scalability and responsiveness of the
Boundary and error handling test cases validate the system's behavior when
Reporting and visualization test cases ensure that the system generates
plant images. This involves validating the accuracy and completeness of the
reports and verifying that they provide meaningful insights into the
classification results.
Integration and compatibility test cases verify the seamless integration of the
117
Classification Of Indian Medicinal Leaves Using Transfer Learning Based Convolutional Neural
Networks
with different operating systems, web browsers, and platforms on which the
Test Steps:
Confirm if the system displays a message indicating that the dataset has
upload.
Preprocessing
Verify if the preprocessed dataset contains the necessary data for further
processing.
118
Classification Of Indian Medicinal Leaves Using Transfer Learning Based Convolutional Neural
Networks
enhance the quality and suitability of the dataset for model training.
processing.
Model Prediction
Test Steps: Input a sample image into the trained model for prediction.
Verify if the model generates the predicted class label for the input image.
Expected Result: The model should accurately predict the class label of the
input image.
Actual Result: Model generates the predicted class label for the input image.
Recommendation
class label.
119
Classification Of Indian Medicinal Leaves Using Transfer Learning Based Convolutional Neural
Networks
Visualization
generated.
In conclusion, the system testing phase of the medicinal plant leaves classification
project has been pivotal in ensuring the robustness, reliability, and accuracy of the
leaf images. The testing process encompassed various scenarios, including input data
allowing us to identify and address potential issues and limitations. Overall, the
successful completion of the system testing phase instills confidence in the reliability
and efficacy of our medicinal plant classification system, paving the way for its
120
Classification Of Indian Medicinal Leaves Using Transfer Learning Based Convolutional Neural
Networks
CHAPTER 10
CONCLUSION AND FUTURE SCOPE
121
Classification Of Indian Medicinal Leaves Using Transfer Learning Based Convolutional Neural
Networks
10.1 CONCLUSION
In conclusion, the medicinal plant classification project has represented a significant
step forward in leveraging machine learning techniques for the accurate identification
and categorization of various plant species based on their images. Through meticulous
metrics across multiple evaluation criteria, including accuracy, precision, recall, and
medicinal plant images, thereby empowering the models to make precise predictions
outcomes. These visualizations have provided invaluable insights into the strengths
approach and optimize the classification system further. The successful deployment of
the trained models in a production environment underscores the practical utility of the
developed system, opening avenues for its potential utilization in diverse real-world
MobileNetV2 obtained the best validation accuracy with fine-tuning with a validation
accuracy of 96.02%. MobileNetV2 also obtained the best testing accuracy with fine-
tuning of 81.82%. In other models, the testing accuracy obtained is far below
MobileNetV2. This condition is likely to happen because the dataset for training and
122
Classification Of Indian Medicinal Leaves Using Transfer Learning Based Convolutional Neural
Networks
validation used is less diverse and general to build a good model, so the resulting
model overfits the dataset. In this case, MobileNetV2 with fine-tuning is quite able to
overcome the weaknesses of the dataset used so that when new testing data is given,
the accuracy results obtained are quite good. In addition, based on the experiment
results, fine-tuning the model can improve the accuracy of the validation and testing
produced. The limitation of this study is that it ignores the background problem of the
leaf image. Further research will be carried out using a dataset with a complex
MobileNetV2 model.
families.
123
Classification Of Indian Medicinal Leaves Using Transfer Learning Based Convolutional Neural
Networks
performance improvement.
optimizing the annotation process and maximizing the utility of labeled data.
platforms could streamline the data labeling pipeline and accelerate model
training iterations.
124
Classification Of Indian Medicinal Leaves Using Transfer Learning Based Convolutional Neural
Networks
validate the accuracy of the classification system and enrich the model's
domain expertise into the model development process can enhance the
botanical knowledge.
125
Classification Of Indian Medicinal Leaves Using Transfer Learning Based Convolutional Neural
Networks
126
Classification Of Indian Medicinal Leaves Using Transfer Learning Based Convolutional Neural
Networks
REFERENCES
127
Classification Of Indian Medicinal Leaves Using Transfer Learning Based Convolutional Neural
Networks
[1] X.-F. Wang, D.-S. Huang, J.-X. Du, H. Xu, and L. Heutte, “Classification of
plant leaf images with complicated background,” Appl. Math. Comput., vol. 205, no.
2, pp. 916–926, Nov. 2008.
[2] K. Yang, W. Zhong, and F. Li, “Leaf Segmentation and Classification with a
Complicated Background Using Deep Learning,” Agronomy, vol. 10, no. 11, p. 1721,
Nov. 2020.
128
Classification Of Indian Medicinal Leaves Using Transfer Learning Based Convolutional Neural
Networks
129
Classification Of Indian Medicinal Leaves Using Transfer Learning Based Convolutional Neural
Networks
[16] J. Lu, L. Tan, and H. Jiang, “Review on Convolutional Neural Network (CNN)
Applied to Plant Leaf Disease Classification,” Agriculture, vol. 11, no. 8, p. 707, Jul.
2021.
[17] E. Korot et al., “Code-free deep learning for multi-modality medical image
classification,” Nat. Mach. Intell., vol. 3, no. 4, pp. 288–298, Apr. 2021.
[25] L. Gao and X. Lin, “A method for accurately segmenting images of medicinal
plant leaves with complex backgrounds,” Comput. Electron. Agric., vol. 155, pp.
426–445, 2018.
131
Classification Of Indian Medicinal Leaves Using Transfer Learning Based Convolutional Neural
Networks
[30] S. Roopashree and J. Anitha, “Medicinal leaf dataset,” Mendeley Data, vol. 1,
2020.
132