Académique Documents
Professionnel Documents
Culture Documents
College of Engineering
Electronics Engineering Department
Title:
A PREDICTIVE MODEL FOR DETECTION AND CLASSIFICATION OF
DISEASE OF TOMATO PLANT THROUGH STEM AREA
Proponents:
BANTAYAN, ALERA CAY R.
ENCANTO, RHOMAR LORENZ S.
GONDA, TYRELL JERICHO V.
Thesis 2
2 | A Predictive Model for Detection and Classification of Disease of Tomato Plant through Stem
Area
4.2.2 Technical ................................................................................................................. 28
4.3 System Design ...................................................................................................... 29
4.3.1.1 Functional Level ................................................................................................... 30
4.3.1.2 Component Level ................................................................................................. 31
4.3.2 Program Design....................................................................................................... 32
4.3.2.1 Algorithm ............................................................................................................. 32
4.3.3 Validation Criteria ................................................................................................... 34
4.3.4 Design Options ........................................................................................................ 34
4.3.5 Design Evaluation ................................................................................................... 41
......................................................................................................................................... 43
4.3.6 Final Design ...................................................................................................... 45
CHAPTER 5: PROJECT IMPLEMENTATION ............................................................................ 46
5.1 Detailed System Design ....................................................................................... 46
5.1.1 Hardware Implementation .............................................................................. 46
5.1.2 Layout and Detailed Drawings ......................................................................... 46
5.1.3 Application of Engineering Codes and Standard Design ................................. 46
5.2 Results and Discussion ......................................................................................... 46
5.3 Engineering Analysis and Simulation ................................................................... 46
5.4 Economic Analysis................................................................................................ 46
CHAPTER 6: SUMMARY OF FINDINGS, CONCLUSION AND RECOMMENDATION ................ 46
6.1 Summary of Findings ........................................................................................... 46
6.2 Conclusion............................................................................................................ 46
6.3 Recommendations ............................................................................................... 46
LIST OF REFERENCES ............................................................................................................ 47
APPENDICES ......................................................................................................................... 54
3 | A Predictive Model for Detection and Classification of Disease of Tomato Plant through Stem
Area
4 | A Predictive Model for Detection and Classification of Disease of Tomato Plant through Stem
Area
CHAPTER 1
PROJECT SCOPE
This chapter states the background, the need of the study and the impact of the
proposed to the society. It also includes the objectives, framework and constraints of
the study on how the prototype will implement the solution to the problem.
There are several factors affect tomato production in the country, according
to Philippine Statistics Authority in costs and returns of tomato production in the
country there are several factors affect the tomato production such as bad weather
or calamities, high cost of input, lack of capital, rough or poor road, inadequate
supply of water, poor soil condition and the leading problem related to
5 | A Predictive Model for Detection and Classification of Disease of Tomato Plant through Stem
Area
production is pests and diseases. Several tomato diseases result in loss of
production that affect the agriculture sector which commonly these diseases are
managed and controlled using variety of procedures such as using fungicides,
rotating crops, removal of diseased parts, and securing of good air circulation
among plant beds and water drainage.[1]
Stem is an essential part of a tomato plant since stem is the lifeline of a plant
and stem plays a vital role for plant since stem is the part of a plant where
nutrients flows and storage for food materials of a plant.[9]
6 | A Predictive Model for Detection and Classification of Disease of Tomato Plant through Stem
Area
1.2 Need Statement
According to news by Science daily, plant diseases lead to crop loss, where
testing for identification and classification are expensive and time-consuming
that case is fatal once the result are received, so there is a need for economical
and fast test that can be use on sites that can detect disease early on.
7 | A Predictive Model for Detection and Classification of Disease of Tomato Plant through Stem
Area
Figure 1.1 shows the interrelated objective and fundamentals. The objectives,
identifying the goals and purposes is set where the divided into three parts first is
the input where the key specific needs are stated, as well as the process in making
the concept of the design and the last, is the output where the desired outcomes is
stated for the design.
1.4 Objective
1.4.2.1 Hardware
8 | A Predictive Model for Detection and Classification of Disease of Tomato Plant through Stem
Area
the system runs processed the high definition images where the non-evident
indicators can be spotted on the course of processing the image which the
farmers can identified the health condition of their tomato plants in miniature
to extensive farms remotely.
1.4.2.2 Software
1.4.2.3 Validation
1.4.2.3.1 Accuracy
Refers to the ability of the system to spot color difference and to classify
tomato diseases through color analysis of the stem region of tomato plant
where expected output is shown through processed image showing the
segmented (diseased area) and the classified disease.
9 | A Predictive Model for Detection and Classification of Disease of Tomato Plant through Stem
Area
1.4.2.3.2 Reliability
1.4.2.3.3 Efficiency
Efficiency refers to the ability of the device to diagnose a disease per trial.
This will be validated by comparing the result of the device and the visual
checking of the agriculturist
Plant disease can also affect the human health since food production
is limited due to diseases, people often used to substitute for replacement like
processed food that create further health problems. Plant diseases can be
devastating to the natural ecosystem. [10], [11]
10 | A Predictive Model for Detection and Classification of Disease of Tomato Plant through
Stem Area
Plant diseases may affect other variety of food production
Plant diseases may also affect the other food production, especially
livestock since most cattle and other domestic animals are fed through plants,
which can cause diseases among livestock resulted in death and decrease of
production and quality of product. [8][10]
1.6.1 Global
11 | A Predictive Model for Detection and Classification of Disease of Tomato Plant through
Stem Area
In world rankings in terms of crop production, tomatoes are second
next to potatoes as to world prioritize crops all over. Major tomato producing
countries are located in Asia such as China, India, Turkey, and Iran, others
are located in North and South America such as United States of America
(U.S.A), Brazil and Mexico while others are located in Europe and Africa,
such as Italy and Egypt where major problem in crop production is
diseases.[12], [13]
1.6.2 National
12 | A Predictive Model for Detection and Classification of Disease of Tomato Plant through
Stem Area
1.6.3 Local
Defines the specific and definite contents of the design or the limitations.
13 | A Predictive Model for Detection and Classification of Disease of Tomato Plant through
Stem Area
1.8.1 Scope
1.8.2 Delimitation
14 | A Predictive Model for Detection and Classification of Disease of Tomato Plant through
Stem Area
CHAPTER II
PROJECT PLANNING AND TASK IDENTIFICATION
To be able to accomplish the paper works, division of tasks was made and
as displayed below
15 | A Predictive Model for Detection and Classification of Disease of Tomato Plant through
Stem Area
2.2 Gantt Chart
A PREDICTIVE MODEL FOR EARLY DETECTION AND CLASSIFICATION OF DISEASE OF
TOMATO PLANT THROUGH STEM AREA
Stage Task Earliest Length Type Immediate
Start (weeks) Predecessor
Project Preparation
A Brainstorming Week 0 4 Sequential
B Prior art researches Week 1 5 Sequential A
C Evaluation of existing Week 9 3 Parallel A, B
design
D Parameter research Week 3 Parallel A, B
Proposal Design
E Project Scope Week 12 4 Sequential C, D
F Literature Review Parallel E
G Design Evaluation
H Preliminary Design Week 37 18 E, F, G
I Concluding design Week 45 H
Development
J Purchase of Week 46 1 Sequential I
component and
equipment
K Hardware Week 47 1 Sequential J
implementation
L Execute Plan Week 48 1 Sequential K
structure
Design
M Device functionality Week 49 2 Sequential L
N Device validation test Parallel M
O Calibration of device Parallel M
Evaluation
P Assessment of data Week 51 1 Sequential O
Post evaluation and recalibration
Q Re-evaluation of data Week 52 1 Sequential P
R Re-calibration of Parallel P
device
Final testing
S Final testing of Week 53 1 Sequential Q, R
recalibrated device
Manuscript
T Initial manuscript Week 54 1 Sequential S
Presentation
U Presentation of Week 55 1 Sequential T
Design data
Final Manuscript
V Final paper Week 57 2 Sequential U
documentation
16 | A Predictive Model for Detection and Classification of Disease of Tomato Plant through
Stem Area
CHAPTER III
TECHNICAL SURVEY AND LITERATURE REVIEW
This section introduces the laws, theories, and other related existing
studies that will be used to support the implementation of the design
Figure 3.1 shows that pests and diseases is the leading problem related to tomato
production in the Philippines second is bad weather or calamities where survey is
17 | A Predictive Model for Detection and Classification of Disease of Tomato Plant through
Stem Area
done in the provinces of Ilocos Norte, Ilocos Sur, Iloilo, Cebu, Bukidnon and
Misamis Oriental, according to Philippine Statistics Authority. [1]
There rare different kinds of diseases due to different causes like bacteria,
fungal, virus, damage from insecticides, insects, weather and nutritional disorder
where there are diseases that are not visible to naked eye of a person or observer.
There is canker, speck, spot, pith necrosis, rot and wilt where characteristic
symptoms are classified by brown to black to spots and sometimes yellow
discoloration of the stem, roots, leaves and fruit due to bacteria because of over
pruning since bacteria can enter any openings in a plant. Same with bacterial
diseases, there is also fungal diseases cause by overwatering combined with warm
weather which characteristics are similar like blight, damping-off, mold, powdery
mildew, where for blight there is dark brown discoloration on the stem while for
mold it can vary to light brown to gray spots that sometimes mold can be color white,
and for the viral diseases, the most common is the tobacco mosaic virus that is usually
cause by throwing a used cigarette in the field or using cigarette while cultivating the
plants characterize by black discoloration on stem and leaves.[17], [18]
18 | A Predictive Model for Detection and Classification of Disease of Tomato Plant through
Stem Area
identified by black or brown in the stem and root region, and there are white flies, a
pests that affect tomato plant health and it can by identify through stick, black mold
found on the stem and leaves. [19]
Based on the interview done on Sanctuario nature farms in Cavite there are
several diseases they encounter on there tomato crops. [Appendix B] where the
following are the common diseases can be found in the Philippines which is a tropical
country where only there are two season, wet season and dry season. First, common
disease can be found is the bacterium wilt, caused by sudden changes in temperature,
high pH level in the soil, high humidity which is common during the rainy season.
Mosaic Virus is a type of virus which is not curable, common cause is smoking while
in the farm or plantation or throwing cigarette butts in the farm. Damping off, and
leaf and stem spot is a disease due to fungi. There are several ways to correct the
these common diseases which is in column three of the table, for bacterial wilt,
damping off and stem spot, the following disease management can be done
intercropping, crop rotation, increase organic matter, raise the beds, secure running
water and drainage system, space plants enough to provide good air circulation, and
drench lactic acid bacteria serum and indigenous microorganism, and for the mosaic
virus, the following are the disease management or how to correct the diseases:
remove the plant, then burn or buried, no smoking inside the farm, and washed and
sterilized all tools and containers. The same time on the course of interview, the
interviewee gives a rationale of common cause of these diseases. [Appendix C]
19 | A Predictive Model for Detection and Classification of Disease of Tomato Plant through
Stem Area
Importance of Tomato Diseases Identification and Classification and relation to
image processing
Plant diseases is the major problem in food production in terms of quality and
quantity where detection and classification of diseases are essential to address the
issue of food production that will help countries growth economically. Many
researches focus on the implication of image processing techniques to classify and
detect diseases.[20], [21] No method for disease diagnosis of a plant can be
considered as standardized, it always toward development where today there are
different existing methods that uses different ways to sense and detect diseases like
RGB, Multi and Hyperspectral, Thermal, Chlorophyll Fluorescence, and 3-D
imaging,[22] where diseases can only be classify once there are visual symptoms that
are sometimes cannot be seen using naked eye of a person.[23]
Image processing
The process of using the images using various computer algorithms, has been
employed in number of areas such as recognition, remote sensing, image sharpening,
color and many more applications. The analysis of images in order to improve the
quality of the image based on the type of its applications.[24] Image processing is
composed of different sections: pre-processing, image compression, edge detection,
segmentation etc. Image processing is a method where images undergo such
processes where to improve the image for pictorial image for human interpretation
and for use of machine.[25] Different image processing used different algorithm for
obtaining the selective and wanted image for different application. Image processing
20 | A Predictive Model for Detection and Classification of Disease of Tomato Plant through
Stem Area
algorithm can be divided into different subclasses image restoration, image
segmentation and image enhancement. Image enhancement algorithm is purposely
enhancing the images for different myriad of application and purpose.[24][26]
Color attributes as one of the features that can be used for image analysis
since color is a powerful descriptor that facilitates the identification and extraction
of a region from a background. Through color analysis a variety of color shades can
be lower to represent an image to be able to quantize the image. A color histogram
is composed of the three primary colors such as red, green and blue. This color
histogram or color modelling can be used for myriad of application like food
processing and other biological discipline to quantize colors. Color analysis can be
done using pixels of an image where it can be group into the three primary
colors.[27]–[30]
Camera
The consideration of camera is one of the most important parts of this project.
Since one of the objectives is to characterize the stem of the tomato plant for health
analysis, which condition is small for naked eye. Where the camera is useful
capturing digital images on high quality that is useful for image processing part of
the design. In electronics, camera is an optical instrument for capturing images,
which can be stored locally or transmitted via internet etc. Digital camera can store
digital images that can be useful for different application. [31][32]
21 | A Predictive Model for Detection and Classification of Disease of Tomato Plant through
Stem Area
Display Monitors or Screen Display
A hardware device that displays the signals of the computer, where the part
of the computer where used for monitoring since though display monitor, processed
and output can be observed. A device used to show the output that can be display
through series of picture, physically a monitor is composed of display device,
circuitry, casing and power supply.[33]
Tomato diseases classification using leaf area of the tomato plant where it visualized
the symptoms that used as database composed of thousand of tomato leaves are
infected and healthy used for recognition and classification.[35] Accurate detection
of tomato disease which focuses on one disease only which is the powdery mildew
using thermal imaging of tomato plant leaf.[36] Tomato plant disease classification
using image recognition where database is composed of infected and healthy
22 | A Predictive Model for Detection and Classification of Disease of Tomato Plant through
Stem Area
leaves.[37] Real-time tomato plant diseases and pest detection using recognition.[38]
Early detection of plant disease of sugar-beet leaves where disease are identify
without visible symptoms on the naked eye using hyperspectral
reflectance.[39]Detection of leaf disease through image segmentation and soft
computing techniques[40] Detection and classification of disease through statistical
analysis where it used as a database for image recognition.[41] Comparison of image
processing technique applicable for different usage. [42] Plant disease detection
using visually pattern evaluation using MATLAB and LABVIEW software for
image recognition.[43]
23 | A Predictive Model for Detection and Classification of Disease of Tomato Plant through
Stem Area
3.3 Technical Surveys
Table 3.3 shows existing technologies and innovations that are related or similar to
the proposed project that include patents and journals. [43]–[47]
24 | A Predictive Model for Detection and Classification of Disease of Tomato Plant through
Stem Area
25 | A Predictive Model for Detection and Classification of Disease of Tomato Plant through
Stem Area
26 | A Predictive Model for Detection and Classification of Disease of Tomato Plant through
Stem Area
CHAPTER IV
PRELIMINARY DESIGN
27 | A Predictive Model for Detection and Classification of Disease of Tomato Plant through
Stem Area
Figure 4.1 shows the concepts generated for the design that characterize the
health condition of the plant through diagnosing the common diseases found on a
plant that can be identified visually. The design focuses on the common diseases
found on a tomato plant that where these diseases can be identified visually found
on different parts of the plant.
4.2.1 Physical
1. The device is portable.[48]
2. The device is connected to a four wheel off-road RC car.[49]
3. The RC car is powered by a 2000mAh battery.[50]
4. A single-board computer with I/O ports for camera. [51]
4.2.2 Technical
1. The device will require camera for capturing image.
- A Camera with at least 0.3 Mega Pixel that can illustrate 640x480. A SNR
with a value of 32.04 dB is an excellent image quality. More light means
good signal to noise ratio since the project will conduct at daylight. [52],
[53]
28 | A Predictive Model for Detection and Classification of Disease of Tomato Plant through
Stem Area
2. The device will require a touchscreen display for command and display of
output.
- The touchscreen displays with pressure sensitive screen. [54]
4.2.3 Ethical
The plant that will be tested will not be harmed for the device will only
capture an image of the plant. Hence, it will not be affected when eaten by a
person. In this project the group will be assisted by a plant pathologist. Plant
pathologist are the one who study about plant diseases.[57]
The figure 4.2 – 4.3 present the order of operation of the design on how it will
function, and the corresponding component needed for that function.
29 | A Predictive Model for Detection and Classification of Disease of Tomato Plant through
Stem Area
4.3.1.1 Functional Level
This figure 4.2 shows the process flow of the system using the input-process-output
approach.
Figure 4.2 These are the main function of the system. Image acquisition is the
input as well as the input control. The input control gives the instruction to the system.
The color conversion from the input is a must for the image processing. The output
will display the plant’s status or disease. The output will also display the
recommendation to prevent plant disease occurrence.
30 | A Predictive Model for Detection and Classification of Disease of Tomato Plant through
Stem Area
4.3.1.2 Component Level
The figure 4.3 shows the arrangement of components together with its function
31 | A Predictive Model for Detection and Classification of Disease of Tomato Plant through
Stem Area
4.3.2 Program Design
4.3.2.1 Algorithm
Figure 4.4 Flowchart of the Predictive model for Diagnosing the Plant health disease
32 | A Predictive Model for Detection and Classification of Disease of Tomato Plant through
Stem Area
11. The acquisition of the image via camera where the acquired image will be shown
in a screen or monitor for the user reference, then the system will give the user an
option if the user wants to proceed on image processing, when the user selects
“yes” the system will proceed on image processing while if “no” the system will
automatically recapture another image. When,
22. The user select yes, system will proceed on image processing where the image
will undergo different image processing methods such as pre-image processing,
image filtering, image segmentation and feature extraction, then the processed
image will be display on the screen or monitor. (This is the part of the system
where the diseased area and the RGB histogram are identify and classified since
the parameter that the system will use is color analysis. Then,
3.
3 After the image processing methods will be the disease identification and
classification where detection and classification using done through the RGB
spectrum set after the calibration of the system
4.
4 Finally, the system will give the user an option for showing the result, when the
user selects “yes’ the system will display the captured image, the processed image
and the disease and the possible recommendation for corrective actions and if
“no” the system will give another option that if the user desired for image
recapturing, when the user selects “yes” the system will recapture again and if
“no” the system will proceed on re-process the image.
5.
5 As per the system shown the result the system will give the user another option if
the user desired to proceed on next test/trial, and when the user selects “yes” the
image will proceed on first step (image acquisition) and when “no” the system
will terminate or end the process.
33 | A Predictive Model for Detection and Classification of Disease of Tomato Plant through
Stem Area
4.3.3 Validation Criteria
These are the following validations to know how accurate and effective the
design is. To validate the device, there are sets of trials. These are the criteria to
validate the device:
• Accuracy refers to the ability of the system to spot color difference and to
classify tomato diseases through color analysis of the stem region of
tomato plant where expected output is shown through processed image
showing the segmented (diseased area) and the classified disease.
• Reliability refers to ability of the system to produce consistent accurate
disease classification based on 50 trials through image analysis for reliable
system on tomato or crop disease classification.
• Efficiency refers to the ability of the device to diagnose a disease per trial.
This will be validated by comparing the result of the device and the visual
checking of the agriculturist.
34 | A Predictive Model for Detection and Classification of Disease of Tomato Plant through
Stem Area
Evaluation for the Single-Board Computer (SBC)
A single-board computer is a device that is commonly used for embedded
application. It can be used for complex robotics systems and processor-intensive
applications.[58] The single-board computer will function as the main brain and
processor of our device. Based on number or result for single board computer there is
a total of 386 million result, adding Octa and Quad core results to 3.5 million search
result, adding 1.2 GHz to 2.4 GHz resulting to 44, 400 result, adding 1Gb to 2Gb ram,
resulting to 3240, adding another is it must be “available in Philippines” resulting to
3090 result, and last is “cheap” resulted to 1810 search results to evaluate and to filter
option based on the design requirements, There was multiple single-board computer
that were evaluated based on the I/O ports. These are the boards that were chosen by
the group such as, The DragonBoardTM 410c, ODroid XU4, and Raspberry Pi 3 B+
are the best three SBCs that were evaluated based on the project constraints.
35 | A Predictive Model for Detection and Classification of Disease of Tomato Plant through
Stem Area
Processing Unit or CPU. CPU is the brain of the whole system.[59] In this project,
CPU will be the one processing of the image. From the table 4.1 the DragonBoard
410c has a CPU of Snapdragon 410E,[60] ODroid XU4 has a Samsung Exynos
5422,[61] and Raspberry Pi 3 B+ has a Broadcom BCM2837B0.[62] The Odroid will
be grade by 5, Raspberry Pi 3 will have a grade of 4 and the DragonBoard will have a
grade of 3. The grades are based from the whole specifications.
Efficiency is correlated with the number of cores and the core speed. The
number of cores allows the computer to work on different tasks at the same time and
core speed is how fast can it run a program. Higher core speed and number of cores
means faster and more programs that can be run on.[59] In this project, these two will
make the processing of image faster. From the table 4.1, the DragonBoard 410c has a
speed of 1.2Ghz Quad-core,[60] ODroid has a speed of 2Ghz Octa-core[61], and
Raspberry Pi 3 B+ has a speed of 1.4Ghz Quad-core.[62] The DragonBoard will have
a grade of 3, ODroid will have a grade of 5 and Raspberry Pi 3 B+ will have a grade
of 4.
36 | A Predictive Model for Detection and Classification of Disease of Tomato Plant through
Stem Area
Evaluation for the Camera
Camera functions as capturing or recording a scene or an object.[63] The
function of the camera on the device is to capture multiple shots of different tomatoes.
The number of search result for camera is 5, 650, 000 results, adding another
requirement is a dynamic range of 51db to 68dB the search result are 73, 400, adding
another requirement is resolution of up to 5MP and there are a total of five results.
There were multiple cameras that were evaluated based on 0.3MP resolution and
32.04dB SNR. The Spinel SC50MPA, Raspberry Pi V1, and uCAM-III cameras that
were chosen.
Table 4.2 presents the different comparison of the three cameras. The S/N
ratio, Dynamic Range, and Sensitivity are the things to look when evaluating a camera
for image processing. There are three cameras that were evaluated such as, Spinel
SC50MPA, Raspberry Pi V1 and, uCAM-III. Accuracy is correlated with the Signal-
to-Noise ratio or S/N ratio. S/N ratio gives definition to an image. Higher S/N ratio
means more definition in an image rather than having more noise.[64] In this project,
the S/N ratio will be the one who will give definition to the photo for better edge
37 | A Predictive Model for Detection and Classification of Disease of Tomato Plant through
Stem Area
detection. From the table 4.2, Spinel SC50MPA has a S/N ratio of 36dB,[65]
Raspberry Pi V1 has an S/N ratio of 36dB,[66] and uCAM-III has a 44.2dB.[67] These
three will be graded based on their given ratio. The Spinel SC50MPA will have a
grade of 3, uCAM will have a grade of 5 and Raspberry will have a grade of 4.
38 | A Predictive Model for Detection and Classification of Disease of Tomato Plant through
Stem Area
Evaluation for the Touch Screen Display
Touchscreen display is a device that has a pressure-sensitive screen, that
allows the user to interact with the device by touching a photo or word.[68] The
function of the touchscreen display in our project is to interact with the device using
it and to display the output. There are a total of 689 million result for touch screen
display, adding another requirement is the screen resolution is 800x480 resulting to
1.9 million, adding seven inched screen size resulted to 840 thousand, then it must be
available in the Philippines resulting to 36,400. There was a list of touchscreen
interface and the group chose these three touchscreens interface based on the type of
pressure-sensitive screen. The three touchscreens are The Nextion Enhanced
NX8048K070, CM3-PANEL, and emVIEW-7 that were evaluated based on the
project constraints.
Table 4.3 presents the comparison of three different touch screen display.
Nextion Enhanced NX8048K070, Raspberry Pi 3 XPT20146, and HDMI interface are
the components for touch screen display. The accuracy is correlated with the screen
resolution. Screen resolution shows more elements or definitions in the screen.[69] In
this project, the screen resolution will give the user a better view of an image. From
39 | A Predictive Model for Detection and Classification of Disease of Tomato Plant through
Stem Area
the specification given in table 4.3, the Nextion Enhanced NX8048K070 has a screen
resolution of 800x480,[70] the CM3-PANEL has a screen resolution of 800x480,[71]
and the emVIEW-7 has a resolution of 800x480.[72] Those three will be graded based
on their given screen resolution. The Nextion Enhanced will have a grade of 4, the
emVIEW-7 will have a grade of 3, and CM3-PANEL will have a grade of 5.
Reliability is correlated with Touch Type. There are two types of touch type:
Capacitive and Resistive. Resistive touch is a pressured touch on a display to
command while capacitive uses sense of conductivity. Resistive touch is good in stylus
flexibility, higher sensor resolutions, detects fewer accidental touches, less expensive
but it does not have the multi-touch support. Capacitive touch has an incredible
durability, reliability, higher image quality, and future proof. It has limited touches
and glass is more prone to breaking. [22] In this project, the touch type will help the
user to command the touch screen interface. From the table 4.1, The The Nextion
Enhanced NX8048K070 has a touchscreen type of either resistive or capacitive,[18]
the CM3-PANEL has a resistive type,[71] and the emVIEW-7 has a resistive type.[72]
The three touchscreens will be graded based on their specification. The Nextion
Enhanced will have a score of 5, the emVIEW-7 will have a grade of 4, and the
emVIEW-7 will have a grade of 3.
40 | A Predictive Model for Detection and Classification of Disease of Tomato Plant through
Stem Area
be graded based on their specification. The Nextion Enhanced will have a grade of 5,
CM3-PANEL will have a grade of 4, and the emVIEW-7 will have a grade of 3.
Design Criteria
• Accuracy – 40%
• Reliability – 40%
• Efficiency – 20%
The accuracy has a percentage of 40% because it is one of the two validations
needed in this project. Accurate processing and accurate output are one of the main
goals of the project. The reliability has a percentage of 40% because one of the main
goals of this project is it can be trusted by anyone specially the farmers. The efficiency
41 | A Predictive Model for Detection and Classification of Disease of Tomato Plant through
Stem Area
has a percentage of 20% because the system must be productive because it will capture
a lot of tomatoes. It means more processing of images.
The three following tables are based on the three criteria with different design
trade-offs. Every table has three different designs combined with three different
components. Every component has its own weight and cell-index factor. The scores
are based on the product of the weight and the cell-index factor. The score function is
the product of the score and the weight of the given criteria. The proponents set the
SBC, the camera, and touchscreen display with a weight of 0.5, 0.25, and 0.25
respectively in terms of accuracy. In terms of reliability, the proponents set the SBC,
the camera, and the touchscreen display with a weight of 0.4, 0.4, and 0.2 respectively.
In terms of efficiency, the proponents set the SBC, the camera, and the touchscreen
display with a weight of 0.25, 0.5, and 0.25 respectively.
42 | A Predictive Model for Detection and Classification of Disease of Tomato Plant through
Stem Area
Table 4.4 presents three different designs that were picked by the group with
combination of components based on the different criteria. In terms of accuracy,
Design P has a score of 1.8, next is the Design G with a score of 1.48, and the Design
T with the score of 1.26. Overall the Design P has the highest score.
In terms of reliability, Design G has a score of 1.84, next is the Design P with a
score of 1.6, and the Design T with a score of 1.52. Overall the Design G has the
highest score.
In Efficiency, Design T has the highest score of 0.9, next is the Design P with a
score of 0.7, and the Design G with a score 0.58. Overall the Design T is having the
highest score.
Level of Acceptance
LEVEL OF ACCEPTANCE
Accuracy Reliability Efficiency
0.7
0.58
0.9
1.6
1.84
1.52
1.8
1.48 1.26
43 | A Predictive Model for Detection and Classification of Disease of Tomato Plant through
Stem Area
Figure 4.5 presents the three different designs. The purple color is the accuracy
that has a weight of 40%. The blue color is the reliability that has a weight of 40%.
The dark yellow color is the efficiency that has a weight of 20%. The Design P has
the highest graph among all the graphs. It has an overall score of 4.10. The next is the
Design G. It has an overall score of 3.90. The last of them all is the Design T. It has
an overall score of 3.68.
Design Trade-Off
The proponents chose design P for having the highest score of accuracy of 1.8.
This project will focus more on the accurate diagnosis of the tomato plant diseases.
The 0.32 difference score with the Design G is not that high but it may affect a serious
competition in terms of accuracy. The reliability and efficiency are the two trade-offs.
The design chosen by the proponents is the most applicable for the whole project. The
design P is composed of Raspberry Pi 3 B+ single-board computer, uCAM-III camera,
and CM3-PANEL touch screen panel.
44 | A Predictive Model for Detection and Classification of Disease of Tomato Plant through
Stem Area
4.3.6 Final Design
Figure 4.6 presents the final design of the project. The SBC, camera and
touchscreen display were chosen based on the high number of accuracies. The chosen
camera for the project is the uCAM-III. This camera will take a series of photo of
tomato plants. The chosen touchscreen display for the project is the CM3-PANEL.
This touchscreen will be used for commanding the device and for displaying the vision
from the camera and the project output. The chosen Single-Board Computer for the
project is the Raspberry Pi 3 B+. The single-board computer will be the one to process
the multiple images taken from the camera and will be the brain of the whole device.
The project will have a power source of a 2000mAh battery.
45 | A Predictive Model for Detection and Classification of Disease of Tomato Plant through
Stem Area
CHAPTER 5: PROJECT IMPLEMENTATION
6.2 Conclusion
6.3 Recommendations
46 | A Predictive Model for Detection and Classification of Disease of Tomato Plant through
Stem Area
LIST OF REFERENCES
[1] L. S. Grace Bersales and D. Undersecretary, “Costs & Returns of Tomato
Production,” 2018.
[10] C. Allen, “Plant Diseases : How They Affect Global Food Security , and
How They Are Affected by Anthropogenic Change.”
[11] D. Guest, “Special Issue ‘The Impact of Plant Disease on Food Security,’”
47 | A Predictive Model for Detection and Classification of Disease of Tomato Plant through
Stem Area
Agriculture, vol. 2, 2012.
[14] S. Nicola, G. Tibaldi, and E. Fontana, “Tomato production systems and their
application to the tropics,” Acta Hortic., vol. 821, no. March, pp. 27–33,
2009.
[15] P. Macaraeg, “What are the most profitable farm products to grow in the
Philippines.,” Entrep. Philipp., 2017.
[18] D. Wiley, “10 Tomato Plant Diseases to Watch For,” pp. 1–7, 2019.
48 | A Predictive Model for Detection and Classification of Disease of Tomato Plant through
Stem Area
Classification Through Leaf Images: A Survey,” Arch. Comput. Methods
Eng., vol. 6, pp. 1–24, 2018.
[23] R. T. V. Fox, “Plant disease diagnosis,” Epidemiol. Plant Dis., pp. 14–41,
2013.
[29] H. Analyze, E. Api, and D. Faq, “Image color summarizer,” pp. 4–7, 2019.
49 | A Predictive Model for Detection and Classification of Disease of Tomato Plant through
Stem Area
to Perform Image Acquisition,” SAMRIDDHI A J. Phys. Sci. Eng. Technol.,
vol. 9, no. 01, 2017.
[33] &NA;, “Monitoring Systems,” Nurs. Res., vol. 20, no. 2, p. 186, 1971.
50 | A Predictive Model for Detection and Classification of Disease of Tomato Plant through
Stem Area
1, p. 21, 2019.
[40] V. Singh and A. K. Misra, “Detection of plant leaf diseases using image
segmentation and soft computing techniques,” Inf. Process. Agric., vol. 4,
no. 1, pp. 41–49, 2017.
[45] S. F. Roca and R. Cited, “( 12 ) United States Patent,” vol. 2, no. 12, 2006.
51 | A Predictive Model for Detection and Classification of Disease of Tomato Plant through
Stem Area
Classifieds.” .
[50] “RC Car Batteries Are Very Important for Their Performance.” .
[54] “How to Choose the Right Touch Screen for Your Business - Touch
Dynamic.” .
52 | A Predictive Model for Detection and Classification of Disease of Tomato Plant through
Stem Area
[65] M. Pixels, S. Jpeg, C. Sc, M. P. A. U. Manual, T. Sc, and M. P. A. Camera,
“SC50MPA : 5 Mega Pixels Serial JPEG Camera User Manual,” no. Oct, pp.
1–7, 2018.
[69] “What is screen resolution and why does it matter? | Tech Donut.” .
53 | A Predictive Model for Detection and Classification of Disease of Tomato Plant through
Stem Area
APPENDICES
54 | A Predictive Model for Detection and Classification of Disease of Tomato Plant through
Stem Area
APPENDIX A
1. What are the common diseases found in Tomato Plants? (number
of items below may be increase based on the statement given by the
interviewee)
a. Disease 1
b. Disease 2
55 | A Predictive Model for Detection and Classification of Disease of Tomato Plant through
Stem Area
APPENDIX B
56 | A Predictive Model for Detection and Classification of Disease of Tomato Plant through
Stem Area
APPENDIX C
Causes (Corrections) Possible Diseases
Over watering (Schedule watering) Wilting
Cankers
Damping off
Under watering (Water them Cankers with leaf Roll
frequently) Cankers and lesions
Stem and Leaf Spot
Over pruning (less pruning) Wilting
Poor drainage system (raise beds Wilting
and secure water flow all
throughout the farm)
Lack of air flow (raise beds and Powdery Mildew
secure spaces between plants) Stem and Leaf Spot
Over usage of herbicide/pesticide Wilting
(use organic matter aside from
chemical based products)
Under usage of herbicide/pesticide Powdery Mildew
Smoking in farm (removed all the Mosaic Virus
infected plants
High PH level Wilting
57 | A Predictive Model for Detection and Classification of Disease of Tomato Plant through
Stem Area
58 | A Predictive Model for Detection and Classification of Disease of Tomato Plant through
Stem Area
59 | A Predictive Model for Detection and Classification of Disease of Tomato Plant through
Stem Area
60 | A Predictive Model for Detection and Classification of Disease of Tomato Plant through
Stem Area
61 | A Predictive Model for Detection and Classification of Disease of Tomato Plant through
Stem Area
62 | A Predictive Model for Detection and Classification of Disease of Tomato Plant through
Stem Area
63 | A Predictive Model for Detection and Classification of Disease of Tomato Plant through
Stem Area
64 | A Predictive Model for Detection and Classification of Disease of Tomato Plant through
Stem Area
65 | A Predictive Model for Detection and Classification of Disease of Tomato Plant through
Stem Area
66 | A Predictive Model for Detection and Classification of Disease of Tomato Plant through
Stem Area
67 | A Predictive Model for Detection and Classification of Disease of Tomato Plant through
Stem Area
68 | A Predictive Model for Detection and Classification of Disease of Tomato Plant through
Stem Area
69 | A Predictive Model for Detection and Classification of Disease of Tomato Plant through
Stem Area