Professional Documents
Culture Documents
Medical Characteristics Identification of Leaf IEEE 2020
Medical Characteristics Identification of Leaf IEEE 2020
H.P Jayasuriya
P.V.D. Nadeeshan
Faculty of Computing
Faculty of Computing
SLIIT
SLIIT
Malabe, Sri Lanka
Malabe, Sri Lanka
jpaba15@gmail.com
dhanuka.dn@gmail.com
Abstract In Ayurveda medicine, correct identification the relevant medicinal plant, for what disease it is used for
of medicinal plants is of great importance. Plants are and what are the other alternative names used from district
identified by human experts using their visual features to district.
and aroma. Incorrect identification of medicinal plants
may lead to adverse results. Plant identification can be II. RELATED WORKS
automated using visual morphological characteristics In most of the research; Siraj et al have focused their
such as the shape, color, and texture of the leaves and attempt by using the color and texture of the flower as the
flowers. This paper presents how rare medicinal plants features [1]. As the methodology, they have followed
were identified with high accuracy by applying image three phases namely the image capturing, image
processing and machine learning capabilities. For this processing and Neural Network phases. The images were
study, a database was created from scanned images of captured using a digital camera. The flowers have placed
leaves and flowers of rare medicinal plants used in Sri at the center of the camera. The dataset has 18 categories
Lankan Ayurveda medicine. Both the front and back of flower images. Flower identification and classification
sides of leaves and flowers were captured. The leaves are are the most important task that needs to get accuracy.
classified based on the unique feature combination. This phase consists of four steps for image processing as
Identification rates up to 98% have been obtained when image filtering, image segmentation, region detection, and
tested over 10 plants. feature extraction. NN was used to classify the images
based on color and texture. The overall results differ from
Keywords the types of flowers. Some flowers get 69% accuracy and
some have 100% accuracy. At the conclusion they have
medicine, Ayurveda, Neural network concluded that the number of images of flowers depends
on getting the accuracy of the training result.
I. INTRODUCTION
Ayurveda is an ancient medical system practiced in Sri Almogdady et al have used the image processing
Lanka and its origin dates back to around 3000 years ago, techniques for the identification. Color, texture, and shape
in Vedic times. The main ingredients of Ayurvedic are the features of identifying flowers [2]. For the
medicine are plant leaves, flowers and roots, and other methodology they have divided their approach into four
parts of plants such as bark. In ancient, the Ayurveda steps as image enhancement, image segmentation features
doctors themselves collect medicinal plants to prepare extraction and classification. They have used Chan-vese
medicines. Today only a few Ayurveda doctors follow the image processing segmentation technique for segmenting
ancient methods. Because the manufacturing of Ayurveda flowers from the rest of the image in order to simplify and
medicines has become a marketing factor. Today the enhance the features extraction process. For the extraction
plants are collected from forest areas or gardens. Those of features the have used HSV color descriptor, Gray
who collect them are not professionally trained in Level Co-occurrence Matrix (GLCM) as texture
identifying accurate medicinal plants. Because of these descriptor and Invariant Moments (IM) as a shape
manufacturing units of medicine and the people who are descriptor. The images of flowers are cropped to get the
searching for them often receive incorrect or substituted relevant size. They have done cropping a single flower
medicinal plants. Most of these units lack adequate quality from bunch of flowers, cropping but keeping the full
control mechanisms on identifying the correct medicinal bunch and keeping the same structure (No cropping). For
plant. When plants arrived in dry mode, makes the manual the classification part BACk Propagation ANN was used.
identification task much more complicated. Incorrect use As the overall result they have included all flower species
of medicinal plants may cause the Ayurveda medicine with 20 images and acquired 80% accuracy.
ineffective. In this situation, identification of correct
medicinal plants conduces as an important task. In this Most of the researchers have used the image processing
system we implement a feature to get the description of techniques for feature extraction and CNN for the
125
Authorized licensed use limited to: University of Wollongong. Downloaded on May 31,2020 at 20:18:39 UTC from IEEE Xplore. Restrictions apply.
2019 IEEE 14th International Conference on Industrial and Information Systems (ICIIS), 18-20 Dec., Peradeniya, Sri Lanka
classification. One of the attempts they have used color, III. MATERIALS AND METHODS
texture, and shape as features on identifying flowers [3].
In their approach consists of four steps as pre-processing, A. Data Collection
segmentation, hand-design feature extraction and At present, a standard image database of Ayurvedic
classification. To segment the flower from the background medicinal plants is not available. The research team
they have used saliency-segmentation-based approaches initially conducted a set of interviews with Ayurvedic
to select the Region-Of-Interest (RIO) on flower images. doctors in Ayurveda General Hospital Rajagiriya and
And have used a common segmentation technique called identified a set of rare plants used for Ayurvedic medicine
mean-shift algorithm. They have used CNN for to be included in the prototype. Images of these medicinal
optimizing the parameters. As the overall result shows plants were collected mainly from the Botanical division
effectiveness of CNN for flower identification. And the in Ayurveda Department, Navinna, and several private
accuracy was 90%. botanical gardens in Sri Lanka.
When we study leaf identification researchers furthermore The leaves and flowers were harvested in natural habitat,
we could found some researchers have done leaf and the selection of leaves, flowers, and plants was based
identification by edge detection. [4] Mostly they have on rare plants. The images were colored images and stored
used existing algorithms to grasp their objectives. In their in jpeg format for further processing. The resolution of
approach of identification of a leaf, they have used the leaf and flower images are changed into uniform
Structural Decomposition for the feature extraction of the resolution as 3120×4160 and the size between 200kB-
leaf image. They have mainly focused on color mapping 500kB. For each plant, we collected 500 images of leaves
by using pre-processing techniques and using four major and flowers. Accordingly, 5000 images of leaves and
phases. Those steps that they have mentioned are flowers were collected in the database. The database of
thresholding, edge detection, segmentation, and the images of flowers and leaves is shown in Figure 1.
classification. The local names and botanical names are given in Table 1.
They convert the same test image into three images by Fig. 1: Leaf and flower images
changing the components of the image. In their research
paper, we can observe, considering Hue, Saturation
intensity they have converted them into grayscale images.
After-ward all the three images converted to binary image
126
Authorized licensed use limited to: University of Wollongong. Downloaded on May 31,2020 at 20:18:39 UTC from IEEE Xplore. Restrictions apply.
2019 IEEE 14th International Conference on Industrial and Information Systems (ICIIS), 18-20 Dec., Peradeniya, Sri Lanka
the series takes the convolutional operations as the input. affect. Epoch is a measure of the number of times the
In the convolutional operation, there are three components training is done. Once the number of epoch increases
as the input image, feature detector, output image. The between 40- 60, high accuracy can be obtained.
feature detector is known as the mask or kernel. There are
masks as 3x3, 5x5, and 7x7. But for the convolutional Fig. 3: System model
purpose 3x3 mask is used. During this process some
features of images will be neglected [9]. But CNN
identifies the images with higher accuracy.
127
Authorized licensed use limited to: University of Wollongong. Downloaded on May 31,2020 at 20:18:39 UTC from IEEE Xplore. Restrictions apply.
2019 IEEE 14th International Conference on Industrial and Information Systems (ICIIS), 18-20 Dec., Peradeniya, Sri Lanka
IV. RESULTS
The trained model for the neural network is tested on the
test set to get their respective classification accuracy. The
regularization parameters change to obtain the best model
characteristics from the data. The classification accuracies
are tabulated in Table 2.
The training set accuracy of using the model
obtained 100%. This accuracy depends on the number of
epochs that commits. And the test set accuracies were
between 95% - 99% when tested on 500 images each of
10 rare medicinal plants. Figure 4 shows the accuracy we
obtained by training the images using the model. Figure 5 Fig.6: Loss graph on training set
shows the loss or the errors that occurred during the
training. This graph shows that the loss decreases. That
means there is a high accuracy during the training. Figure
6 shows the validate accuracy. The validate id done due to
the overfitting and underfitting of the training of images.
Since when the training is done there is highest possibility
to achieve the highest accuracy on the training set.
128
Authorized licensed use limited to: University of Wollongong. Downloaded on May 31,2020 at 20:18:39 UTC from IEEE Xplore. Restrictions apply.
2019 IEEE 14th International Conference on Industrial and Information Systems (ICIIS), 18-20 Dec., Peradeniya, Sri Lanka
V. CONCLUSION
[7] Identification of Ayurvedic Medicinal Plants by
The article proposed a robust technique using CNN for the Image Processing of Leaf Samples. Available at:
identification of rare medicinal plants. Test accuracy of https://www.researchgate.net/publication/322059676
90% was obtained by using the TensorFlow on the dataset _Identification_of_ayurvedic_medicinal_plants_by_i
that we created. This immunity was obtained from the mage_processing_of_leaf_samples[Accessed 8 Mar.
2019]
extraction of the relevant characteristics of the leaf image.
The samples were formed using neural networks for the [8] Introduction to Deep Learning Deep learning basics
recognition of statistical models. The accuracy increases with Python, Tensorflow and Keras Available at:
with the number of training which is meant by epoch. https://pythonprogramming.net/introduction-deep-
When the number of epoch increases, it can get high learning-python-tensorflow-keras/[Accessed 9 Mar.
2019]
accuracy.
[1] Fadzilah Siraj. (2014). Flower image classification [11] Convolution Neural Networks (CNN) : Step 1
modeling using neural network. Available at: Convolutional Operation. Available at:
https://ieeexplore.ieee.org/document/7042605 https://www.superdatascience.com/blogs/convolution
[Accessed 8 Mar. 2019]. al-neural-networks-cnn-step-1-convolution-
operation[Accessed 9 Mar. 2019]
[2] Huthaifa Almogdad. (2018).A Flower Recognition
System Based On Image Processing And Neural
Networks. Available at: http://www.ijstr.org/final-
print/nov2018/A-Flower-Recognition-System-Based-
On-Image-Processing-And-Neural-Networks.pdf
[Accessed 8 Mar. 2019]
129
Authorized licensed use limited to: University of Wollongong. Downloaded on May 31,2020 at 20:18:39 UTC from IEEE Xplore. Restrictions apply.