You are on page 1of 4

The 6th International Conference on Digital Arts, Media and Technology (DAMT) and

4th ECTI Northern Section Conference on Electrical, Electronics, Computer and Telecommunications Engineering (NCON)
2021 Joint International Conference on Digital Arts, Media and Technology with ECTI Northern Section Conference on Electrical, Electronics, Computer and Telecommunication Engineering | 978-1-6654-1569-9/20/$31.00 ©2021 IEEE | DOI: 10.1109/ECTIDAMTNCON51128.2021.9425737

Machine Learning Algorithm Development for


detection of Mango infected by Anthracnose
Disease
Suwit Wongsila Parinya Chantrasri Pradom Sureephong
College of Arts, Media and Technology Science and Technology Research College of Arts, Media and Technology
and Postharvest Technology Innovation Institute Postharvest Technology Chiang Mai University
Center, Faculty o f Agriculture, Chiang Innovation Center, Chiang Mai Chiang Mai, Thailand
Mai University University dorn@camt.info
Chiang Mai, Thailand Chiang Mai, Thailand
suwit.w@cmu.ac.th parinya.c@cmu.ac.th

Abstract—The purpose of this work is to develop and Plant disease identification can be done using Image
design an algorithm for detection of mangoes infected with processing. In many of the cases disease symptoms are seen
anthracnose. The study found that the higher performance on the stems, fruit and leaves. Improvement in artificial
ability of computers was developed and used into a deep intelligence research now enables the automated detection of
learning system for the classification of fungal disease in disease in plant as the human eyes seen from raw images.
plants. In the experiments, the main core of the systems is The deep learning method using neural networks, is an
Convolutional Neural Network (CNN) was developed. In the image-learning algorithm for effective plant disease isolation.
training procedure of the systems the datasets of mango sample
It can automatically extract properties from images while
were divided into two parts: training and test datasets, using of
neural networks learn how to retrieve properties to train [2].
125+131 mango images with disease + without disease samples
of mango photograph by the top and bottom position, in the II. P l a n t Di s e a ses
efficiency test, 364 images from 85 + 97 images with disease +
no disease samples were used for testing. Based on the testing The most common plant diseases are classified as per
results, the developed system was more than 70% accurate to their features available on the leaf or fruit. The color, the
isolate the disease mango. texture and the morphological features are used to train a
neural network model as seen on TABLE I.
Keywords—Machine Learning, Anthracnose Disease, Neural
Network, Convolutional Neural Network TABLE I. C HARACTERISTICS OF D ISEASES IN D IFFERENT P LANT [8]

I. INTRODUCTION Symptoms
Disease Host
and signs
Potato leaf disease Potato Dark green to
black or purple
lesions with a
pale green color.
Border on the
lower leaves
Black rust fungus in Wheat Black spores on
wheat the infected
surface.
Coffee rust Coffee Orange-yellow
spots on the
underside o f the
leaves looks like
powder.
Powdery mildew Grasses, Vegetables, White mold
Shrubs, and Trees growth spots
Fig. 1. Export value o f fresh or chilled to frozen mangoes from 2015 to that have been
2020 (Jan-Sep) [1] enlarged to
cover.
Mango is a fruit that the government has a policy to Leaves or other
promote production potential for export, in 2019 the total plant organs.
Anthracnose Mangoes, Grasses, Large black
export value of 2,017,042 baht [1]. Vegetables, circles on the
Data from the Department of Agriculture in Thailand Some fruit, Shrubs and leaves and fruits
Trees during full
(2003) found that export problems of normal Nam Dok Mai infection.
mangoes were post-harvest spoilage. Contains harmful
residues Anthracnose and fruit flies result in substandard
product quality.

978-1-6654-1569-9/21/$31.00 ©2021 IEEE 249

Authorized licensed use limited to: Carleton University. Downloaded on May 28,2021 at 18:02:53 UTC from IEEE Xplore. Restrictions apply.
The 6th International Conference on Digital Arts, Media and Technology (DAMT) and
4th ECTI Northern Section Conference on Electrical, Electronics, Computer and Telecommunications Engineering (NCON)

III. L i t er a t u r e Re v i e w Anthracnose. In this work, the model performance validated


by acquired images from the real condition and non-
A. Detection destructive method. The image preprocessed by using
Information collected using image processing techniques histogram equalization that can balance the consistency in
can aid in the detection of disease and can also assess its the captured images. All images in this research resized
severity. Therefore, in the design method, two situations are using the central square crop method. The developed CNN -
considered: based classification model was educated and estimated for
mango disease detection, by considering the of the
• Partial classification: Ability to correctly classify
importance points:
suitable disease from other adverse diseases.
1. Effect and prompt care can be taken in advance by an
• Real-time monitoring: The system continuously
automated and non-destructive disease system and its
monitors on plant and remind the detected disease
[4][5]. severity.
2. Classification method for mango infected with
B. Neural networks anthracnose in this work was offers by deep learning model
The method proposed by Abdullah et al. (2007) is to be named as CNN.
investigated on a given disease (corynespora). The first two 3. In this research, a database using in machine learning
principal components fed into a Multilayer Perceptron (MLP) was obtain from the healthy and infected image collected
Neural Network they developed, has an output of the system from real mangoes. In the model performance testing
can show that the sample is infected by the disease of interest
process, will uses of standard database.
or not [6].
4. The developed systems will also assist for identifying
Their system can identify iron, zinc and nitrogen defect characteristics the disease, thus helping to learn how to
in lettuce plant leaves. Then using developed algorithm for management among the fungal.
segmentation. Then used the neural networks and statistical 5. The proposed method is a positive trend of
classifiers for being system identification, that can be used to development to lead to a system used to detect anthracnose
determine the plant condition [7].
mango fruit.
TABLE II. Co m p a r a t iv e St u d y o f Ne u r a l Ne t w o r k Mo d e l s
6. This paper is structured as follows. Part II presents
USED BY RESEARCHERS the plant diseases. Part III describes the methodology of the
Name of NN Model & Classifiers academic literature review. Section IV reveals the methods
Author Accuracy
Paper used and materials. Part V reveals the results. Part VI reveals the
Detection and K. 56.87% Feed Forward Neural conclusion. Finally, Part VII concludes the future work.
Classification Muthukannan Network
of leaf P. Latha R. (FFNN), Learning IV. M e t h o d o l o g y
disease using Pon Vection (LVQ)
Artificial Selvi and P. and Radial Basic A. Workflowchart and algorithm
Neural Nishal Function
Network [8] Networks(RBF) tor
Quantiz
Detection and Malvika 80.00% Artificial Neural
Classification Ranjanl, Network(ANN),
using Manasi Rajiv Hue Saturation value
Artificial Weginwar2, features ,
Neural Neha Back Propogation
Network [9] Joshi3, Prof. Algorithm
A.B.
Ingole4

Plant Disease Emanuel 80% in 5 segmentation with Mask


Classification Cortes epochs RCNN
Using
Convolutiona
l Networks
and
Generative
Adversial
Networks
[10]
A Robust Alvaro 85.98% Faster Region-based
Deep- Fuentes ID Convolutional
Learning , Sook Yoon, Neural Network (Faster
Based Sang R-CNN),
Detector for Cheol Kim Region-based Fully
RealTime and Convolutional
Tomato Plant Dong Sun Network (R-FCN), and Fig. 2. Flowchart for the purposed work. [12]
Diseases and Park Single Shot
Pests Multibox Detector (SSD)
Recognition
In this work, two databases were used, one for real-time
[11] immunity of mango images and the other for mango disease
Therefore, this research proposes of ML algorithm for the data. The two groups of images were divided into four
detection of Fungal disease infected in the mango called groups: the disease-free mango images for training and the

250

Authorized licensed use limited to: Carleton University. Downloaded on May 28,2021 at 18:02:53 UTC from IEEE Xplore. Restrictions apply.
The 6th International Conference on Digital Arts, Media and Technology (DAMT) and
4th ECTI Northern Section Conference on Electrical, Electronics, Computer and Telecommunications Engineering (NCON)

other two groups of mango images for testing. By category, design of the architecture effected to its flexibility on any
these images are labeled according to their respective classes. applications configuration that related to the results. But the
best result depends on the well design of algorithms and
TABLE III. Al g o r it h m f o r t h e Sy s t em adjustable parameters like the dropout rate, the learning rate
used in complex processing for problem solving in the
No. D efinition
detection process and can be solved pattern recognition
Disease and non-diseased mango Image acquired by the CCD
1
camera.
problems [14][15].

2
Image preparation process by enhancement of the contrast using In this research we proposed the architecture of the ML
histogram differentiated method and rescale by center crop method. algorithm model in Fig.2 that used to detection for the
Group assignment among training and testing group for Mango anthracnose disease. The developed model adapted
3
experiments and labeled.
from the AlexNet model architecture, which used in this
Train the ML algorithm using of training images, then adjust the
4
training parameter.
research for the training of the CNN.
5 Test the ML algorithm by the group of testing images. E. Training and Testing
6 Efficiency test of the proposed model.
At first the entire images dataset has split for two group,
B. Group o f Data the training and the testing group of datasets. For the training
of the CNN 125+131 mango images with the disease +
without disease samples in top and bottom position for 512
images used and another 364 images from 85+97 mango
images with the disease + without disease samples kept for
efficiency testing for the model.

Fig. 3. Sample of Images NN practicing is the essential process, for correctly


algorithm adjustment. This will make the CNN can function
TABLE IV. De t a il o f Sa m pl e Im a g es properly. The practice method teaches the CNN to follow a
snippet to accurately represent the output layer based on the
Image type Class label Number of images
Non-disease mango training S 0xxx 125
input layer. Then predict the results and find the errors. Then
Disease mango training S 1xxx 131 adjust of the ML algorithm for best efficiency by use the
Non-disease mango testing S 2xxx 85 back propagated in reverse order technique. The deep neural
Disease mango testing S 3xxx 97 network developed working by this step and get rid of non-
necessary of another excessive ones [16].
Figure 4 shows an example of a mango used for the
training of the CNN 125+131 mango images with the A developed ML algorithm model that has been trained
infected + without infected samples by the top and bottom for the detection of mangoes. And have a main function to
position for 512 mango images are used and another 364 detected of the mango infected with disease or not.
images from 85+97 samples healthy + infected samples for
The training images and testing images were taken from
testing the performance of the model. each of the class labels S_0, S_1, S_2 and S_3. Each image
C. Preprocessing o f images from the normalized training dataset is given as an input
layer to the ML algorithm model to extract the features. Then
In this step, we were pre-processed for contrast
enhancement and rescaling, then for ML algorithm image the developed model has trained to predict for every training
training and testing. Histogram equalization using for mango image.
contrast enhancement, then in the image crop using of the V. Re s u l t
center square method for processing set of databases from
images. The algorithm of histogram equalization method can The models offered include training and testing using an
be given by eq. that used to setup best contrast of every open-source software framework called Tensor Flow with
image in the methodology [13]. the Python programming language. Then have a parameter of
learning rate is 0.01, drop off rate can be varied by 0.1 to 0.4,
cdfjpix.yf-cdfmin
N ( P i x f y) ) = round ( ■vu--i;) (i) and right balance time in this experiment was at 0.09, the
[Rx xCx)~cdfmin delay between sample is 10-16 second, respectively.
Where, cdf = cumulative frequency Training time was finish in 4-5 days and testing time
Where, cdf = cumulative frequency of the gray level completed in a few minutes. The training process was
implemented on the GPU of an NVIDIA GTX1050Ti card.
■■= minimum value of cumulative distribution function The system hardware using of the desktop computer with the
c df(P(x,y y>= intensity of the current pixel intel ® processor core ™: 7-4300 CPU (2.90 GHZ), system
i?j and Cx= product of number of pixels in rows and operating with Windows 10 Ultimate 64-bit, 8.0 GB RAM
columns and L = number of intensities. and 1 TB storage hard disk. In this experiment focus on this
present result:
D. Conventional o f Machine Learning (a) S_0xxxx (b) S_1xxxx
The main core of our systems is Convolutional Neural
Networks, that will be a subset of Machine Learning (ML) (c) S_2xxxx (d) S_3xxxx
which can be developing in to human intelligible and the
system can work independent. The convolutional neural
network (CNN) used to solve complex pattern and
classifications on problems with many databases. The well-

251

Authorized licensed use limited to: Carleton University. Downloaded on May 28,2021 at 18:02:53 UTC from IEEE Xplore. Restrictions apply.
The 6th International Conference on Digital Arts, Media and Technology (DAMT) and
4th ECTI Northern Section Conference on Electrical, Electronics, Computer and Telecommunications Engineering (NCON)

University, (Thailand), College of Arts, Media and


Technology, Chiang Mai University, (Thailand) and Science
and Technology Research Institute, Chiang Mai University,
(Thailand). We also would like to acknowledge all of our
colleagues who worked together and provided workmates to
the authors.

Re f e r en c es

[1] Website: http://tradereport.moc.go.th/TradeThai.aspx (accessed on


November 11, 2020)
[2] M. Sardogan, A. Tuncer and Y. Ozen, "Plant Leaf Disease Detection
and Classification Based on CNN with LVQ Algorithm," 2018
3rd International Conference on Computer Science and Engineering
(UBMK), Sarajevo, 2018, pp. 382-385.
[3] Abdullah NE, Rahim AA, Hashim H, Kamal MM (2007)
Classification of rubber tree leaf diseases using multilayer perceptron
Fig. 4. Mango training and testing results neural network. In: 2007 5th student conference on research and
development. IEEE, Selangor, pp 1-6
Proposed CNN classification model can be trained to [4] Sena DG Jr, Pinto FAC, Queiroz DM, Viana PA (2003) Fall
armyworm damaged maize plant identification using digital images.
detection process for Mango infected by anthracnose. This Biosyst Eng 85(4):449-454
model includes two cases for discussion (1) Can be classify [5] Story D, Kacira M, Kubota C, Akoglu A, An L (2010) Lettuce
the disease of mango by non-destructive method and (2) calcium deficiency detection with machine vision computed plant
detect of disease on mango and can be show the data. The features in controlled environments. Comput Electron Agric
74(2):238-243
training images and testing images were taken from each of [6] Abdullah NE, Rahim AA, Hashim H, Kamal MM (2007)
the class labels S_0, S_1, S_2, and S_3 respectively, Classification of rubber tree leaf diseases using multilayer perceptron
developed system can be maintain the accuracy more than neural network. In: 2007 5th student conference on research and
development. IEEE, Selangor, pp 1-6
70%. That is, Figure 4 shows the result of 4 group as follows: [7] Hetzroni A, Miles GE, Engel BA, Hammer PA, Latin RX (1994)
Group 1 (a) shows non-disease mango training, 92.15% Machine vision monitoring of plant health. Adv Space Res
accuracy. Group 2 (b) shows disease mango training, 94.27% 14(11):203-212
accuracy. Group 3 (c) shows non-disease mango testing, [8] Diseased plant leaves using Neural Network Algorithms K.
Muthukannan1, P. Latha2, R. Pon Selvi1 and P. Nisha1 1Department
81.36% accuracy. Group 4 (d) shows disease mango testing, of ECE, Einstein College of Engineering, Anna University,
79.55% accuracy. Each image can be right normalized, and Tirunelveli, India 2Department of CSE, Government College of
the group of datasets can give as an input to the Multilayer Engineering, Anna University, Tirunelveli, India ARPN Journal of
Engineering and Applied Sciences , MARCH 2015 , ISSN 1819-6608
Convolution Neural network model to be the right detection [9] Detection and Classification of Leaf Disease using Artificial Neural
systems. Network Malvika Ranjan1, Manasi Rajiv Weginwar2, Neha Joshi3,
Prof. A.B. Ingole4 International Journal of Technical Research and
VI. Co n c l u s io n Applications e-ISSN: 2320-8163, www.ijtra.com Volume 3, Issue 3
(May-June 2015), PP. 331-333
The computer vision application using machine learning [10] Plant Disease Classification Using Convolutional Networks and
methodology has exceptional for solving plant disease Generative Adverserial Networks Emanuel Cortes Stanford
University ecortes@stanford.edu
problems such as pattern recognition, detection, any process [11] A Robust Deep-Learning-Based Detector for Real-Time Tomato Plant
for plant management. Whereby, in this research we Diseases and Pests Recognition , Alvaro Fuentes 1, Sook Yoon 2,3,
developed an innovative process using ML algorithm for Sang Cheol Kim 4 and Dong Sun Park Sensors 2017, 17, 2022;
detection of mango infected with a fungal disease that is doi:10.3390/s17092022
[12] Isaac Kofi Nti et. al. Detection of Plant Leaf Disease Employing
named, Anthracnose which is more than 70% accuracy. Image Processing and Gaussian Smoothing Approach
International Journal of Computer Applications (0975 - 8887)
VII. F UTURE W ORK Volume 162 - No 2, March 2017
[13] H. Ali, M. I. Lali, M. Z. Nawaz, M. Sharif, and B. A. Saleem,
Some of the future works are given as: ‘‘Symptom based automated detection of citrus diseases
using color histogram and textural descriptors,’’ Comput. Electron.
1) Substituting other functions in the process of the Agricult., vol. 138, pp. 92-104, Jun. 2017. doi:
preprocessing image function could be enhance the ML 10.1016/j.compag.2017.04.008.
algorithm and make it compatible for the classification of [14] S. W. Chen et al., ‘‘Counting apples and oranges with deep learning:
A data-driven approach,’’ IEEE Robot. Autom. Lett., vol. 2, no.
various diseases. 2, pp. 781-788, Apr. 2017. doi: 10.1109/LRA.2017.2651944.
[15] J. Ding, B. Chen, H. Liu, and M. Huang, ‘‘Convolutional neural
2) Average data set for biology experiments can be network with data augmentation for SAR target
inconsistencies encountered for working with real-time recognition,’’ IEEE Geosci. Remote Sens. Lett., vol. 13, no. 3, pp.
dataset in plants. 364-368, Mar. 2016. doi: 10.1109/LGRS.2015.2513754.
[16] K. P. Ferentinos, ‘‘Deep learning models for plant disease detection
3) It is useful for other economically important plants and and diagnosis,’’ Comput. Electron. Agricult., vol. 145,
can be used to assess disease severity in other organs of the pp. 311-318, Feb. 2018. doi: 10.1016/j.compag.2018.01.009.
target plant.
4) Can be extend develop for online function/procedure
to build the online real-time disease monitoring, such as
Web/Internet of Things (IoT) function.

Ac k n o w l ed g m en t

The authors gratefully acknowledge support of


Postharvest Technology Innovation Center, Chiang Mai

252

Authorized licensed use limited to: Carleton University. Downloaded on May 28,2021 at 18:02:53 UTC from IEEE Xplore. Restrictions apply.

You might also like