Professional Documents
Culture Documents
Pesticides and Diseases in Fruits
Pesticides and Diseases in Fruits
Pesticides and Diseases in Fruits
I. INTRODUCTION
Abstract— The use of pesticides, steroids and fertilizers
has tremendously increased the negative effects caused Pesticides play a major role in the production of fruits
to the people in terms of health. Harmful pesticides and vegetables. Mainly pesticides are used to flourish
enter into the human body through fruits and the growth of fruits, but there is a level of safe
vegetables, so an optimal solution is needed to recognize consumption of pesticides . There are many methods
the disease and the pesticides in the fruits the common by which the pesticides could be detected. A
man is consuming. Hardware and a software design are hardware and software simulation using IoT and
done to obtain an accurate and a real time output. In Deep Learning (Deep IoT) has been done in this
this paper, a prototype of the system is developed with paper to improve the efficiency and accuracy. An IoT
the use of four sensors, (temperature, gas, pH and (Internet of Things) [1] system mainly consists of
moisture), Arduino microcontroller and a Wi-Fi module sensors/devices that have to be connected to the
to get the information about the presence of pesticides. Cloud with the help of an internet connectivity. Once
The maximum level of pesticides that is accepted legally the data reaches the Cloud, the processing is done
to be consumed by animals and humans is given by and an alert is given to the required person.
MRL. If a fruit is detected to belong in a range above or
below the MRL then it is said to contain pesticides. The disease identification part of this proposed
Through IoT, the pesticide content and the values method is done with the help of the Deep Learning
obtained from each sensors are stored in the Cloud and Convolutional Neural Network algorithm is
server MATLAB ThikS peak. Coming to the software chosen to perform the Deep Learning. CNN
design, CNN and S VM algorithms are chosen and the algorithm (Convolutional Neural Network) is a deep
image of the fruit is diagnosed by them. Two algorithms learning algorithm that involves pre-processing the
are mainly used to compare the accuracy produced by input test image, use feature extraction by allowing
both and to select the most accurate between the two. the input image to go through a set of 8 layers.
Deep Learning process is performed on the image of the Contrast to CNN, SVM algorithm is also performed
fruit and the disease affected in the fruit is identified on the same input image. The SVM classifies the data
and later stored in the Cloud server. The information with the help of a kernel and here, Radial Basis
about the disease in fruits and the pesticide value in Function (RBF) is used. The sole reason behind the
fruits, the harmful effect caused by it, are sent to the use of SVM algorithm is to compare the accuracy and
cloud, which is then processed and sent to the complexity of the training process in obtaining the
application present in the consumer’s smart phone output. The accuracy of the output obtained from
which is developed in HTML5, thereby a real time both the algorithms are compared and the most
regular monitoring is possible. accurate data between the two is sent to the server.
Keywords— Pesticides, Fruits, Deep Learning, IoT, Here a basic application is developed in HTML5
which is used to access and display the information
CNN
regarding the disease and pesticides from the
MATLAB ThinkSpeak Cloud server.
Authorized licensed use limited to: Auckland University of Technology. Downloaded on October 11,2020 at 14:51:50 UTC from IEEE Xplore. Restrictions apply.
Proceedings of the International Conference on Smart Electronics and Communication (ICOSEC 2020)
IEEE Xplore Part Number: CFP20V90-ART; ISBN: 978-1-7281-5461-9
Authorized licensed use limited to: Auckland University of Technology. Downloaded on October 11,2020 at 14:51:50 UTC from IEEE Xplore. Restrictions apply.
Proceedings of the International Conference on Smart Electronics and Communication (ICOSEC 2020)
IEEE Xplore Part Number: CFP20V90-ART; ISBN: 978-1-7281-5461-9
pesticide content is more in fruits automatically the value and split it into two regions. SVM is based on
digital value of the moisture content reduces linearly. supervised learning, which learns from past input
The average transfer efficiency of pesticides is data and makes the future prediction as output.
approximately 75-80% when subjected to low levels
of moisture.
Temperature Sensor
Temperature is the most significant factor affecting
pesticide toxicity in fruits . To predict whether the
fruit is unhealthy to eat, it is enough to identify it by
measuring the temperature. If the pesticides are too
much, the amount of heat generated in fruits is way
above the certain level. This could easily be detected
by using a temperature sensor.
pH Sensor
Fig. 2 Design Methodology of Deep Learning
Here pH sensor plays a very important role in
determining whether or not the fruit contains the
pesticide. Also pH values are used to determine the SVM algorithm was used to predict the type of
disease affected in the fruit. Usually a fruit that has diseases affected in the fruit. The kernel used here is
been affected by a disease belongs to a pH value lies Radial Basis Function (RBF). Data can be of any
in the range of 6-20. So it is really easy to conclude dimensions ranging from 1D, 2D, 3D to infinite
the harmful and consumable fruits with the help of dimension. RBF is used to systematically find the
pH value. support vector classifier in infinite dimensions and
overlapping of data could be dealt with. Here soft
ESP8266 margin classifier is used to determine the location of
It is the main link in connecting the controller with threshold that helps in the splitting of data.
MATLAB ThinkSpeak Cloud server. It sends the
average value of the sensor output collected from the RBF Kernel is : ݁ ି ఊሺି ሻమ (1)
Arduino microcontroller to the cloud storage which is
later sent to the application. Where a, b are 2 dosage measurements and
A total of 200 classes consisting of different varieties ߛ ൌ ݏݐ݊݅ʹ ݂ ݁ܿ݊݁ݑ݈݂݊݅ ݄݁ݐ ݏ݈݁ܽܿݏ
of fruits with the training set size of nearly 50000
images and test set size of nearly 70000 images with On expansion of (1) మ
݁ି ఊሺ ିሻ ൌ ݁ ିఊ ൫మ ାమ ିଶ൯ (2)
an image size of 224x224x3 pixels (per image) were
taken into account for performing the Deep Learning Assume ߛ ൌ ͳൗ
ʹ
process. The Design Methodology of the Deep
Learning is shown in the Figure 2. The input image to
Equation 2 becomes
be experimented is trained and tested through a pre-
processing step where it is compared with nearly
50000 images to identify if the input image is
భ
൫ మାమ ൯ (3)
݁ିమ Ǥ ݁
affected by any disease. The feature learning is the
step where the CNN algorithm comes into picture Performing McLauren’s Expansion on ݁
with which the entire image set is considered and 8
layers of classification are performed to produce an ଵ ଵ ଵ
݁ ൌ ͳ ܾܽ ሺ ܾܽሻ ଶ ڮሺ ܾܽሻ ஶ (4)
accurate result. ଵ ଶǨ ஶ Ǩ Ǩ
In this software part of the proposed system, two Plugging back (4) into (3) and doing Dot product
main algorithms are used to get an accurate value of gives equation 5 as,
output. SVM (Support Vector Machine) is used here
mainly to separate the data based on the threshold
Authorized licensed use limited to: Auckland University of Technology. Downloaded on October 11,2020 at 14:51:50 UTC from IEEE Xplore. Restrictions apply.
Proceedings of the International Conference on Smart Electronics and Communication (ICOSEC 2020)
IEEE Xplore Part Number: CFP20V90-ART; ISBN: 978-1-7281-5461-9
Authorized licensed use limited to: Auckland University of Technology. Downloaded on October 11,2020 at 14:51:50 UTC from IEEE Xplore. Restrictions apply.
Proceedings of the International Conference on Smart Electronics and Communication (ICOSEC 2020)
IEEE Xplore Part Number: CFP20V90-ART; ISBN: 978-1-7281-5461-9
Diseases American Anthracnose Apple Apple Apple Banana Banana Black Rot Bitter Rot Brown Citrus
Brown Blotch Scab scar skin freckle Sigatoka Rot Canker
Rot viriod
Affected
Table 1 is a small table containing the most common diseases present in fruits. Similar to these images nearly 50000
training image sets and 20000 test image tests are being used to train and test the input image.
For the experiment, a fruit was considered and the In figure 4. Given images are the examples of the
sensors were used to identify the pesticide content fruits that are affected by the diseases displayed
present in the selected fruit. The necessary details above the fruits. The affected selected fruits shows
about the disease, the harm caused by overdose of the similarity with four different diseases, out of which
same and the sensor output values were displayed in Black Rot being the most accurate as it produced an
the application. By comparing the SVM and CNN accuracy rate of 99.9%. Hence it is concluded that the
algorithms, IoT, SVM and CNN produced an selected fruit is affected with Black Rot disease.
accuracy rate of 90%, 85.6% and 89% respectively.
From the Deep Learning, the selected fruit is
VI. CONCLUSION
diagnosed to have been affected with Black Rot as
the fruit and the test image matches 99.9%.
This paper offers the most optimal solution removing
the layoffs in the existing solutions like cost,
Authorized licensed use limited to: Auckland University of Technology. Downloaded on October 11,2020 at 14:51:50 UTC from IEEE Xplore. Restrictions apply.
Proceedings of the International Conference on Smart Electronics and Communication (ICOSEC 2020)
IEEE Xplore Part Number: CFP20V90-ART; ISBN: 978-1-7281-5461-9
accuracy, and complexity. In terms of efficiency both And Internet Of T hings” School of Agriculture and Food
the pesticide content and the identification of the Engineering, P.R. China.
[13] Mustapha F. A. Jallow, Dawood G. Awadh, Mohammed S.
disease is done in this paper while either of the Albaho, Vimala Y. Devi, and Nisar Ahmad”Monitoring Of
former or later is performed in the existing methods.. Pesticide Residue In Commonly Used Fruits And Vegetables In
The proposed system as a whole is simple, accurate Kuwait”Int J Environ Res Public Health. 2017 Aug; 14(8):833,
doi:10.3390/ijerph 14080833
and real time, making it the best solution among all [14] Kaviyashree.M, Nikitha.R, Vijayalakshmi.”IoT based solution
other existing ones. On experimenting, it was found for monitoring of pollution through pesticide in fresh fruits and
that CNN gave comparatively better results than vegetable available in market”.International Journal of Scientific &
SVM. The output of CNN had high accuracy, but the Engineering Research Volume 10, Issue 3, March-2019 760 ISSN
2229-5518
training and testing time it took was 6.5 minutes [15] Vijayakumar, T ., and Mr R. Vinothkanna. "Mellowness
more than SVM. Detection of Dragon Fruit Using Deep Learning Strategy." Journal
of Innovative Image Processing (JIIP) 2, no. 01 (2020): 35-43.
VII. REFERENCES
Authorized licensed use limited to: Auckland University of Technology. Downloaded on October 11,2020 at 14:51:50 UTC from IEEE Xplore. Restrictions apply.