A Leaf Recognition of Vegetables Using Matlab
A Leaf Recognition of Vegetables Using Matlab
ISSN 2277-8616
I. INTRODUCTION
In Agriculture, vegetables plants have become an important
source of energy and source of living of Filipino farmers.
Correctly identifying a vegetable leaf allows farmers to
differentiate between vegetables as well as a vegetable
seedling and weed in the garden. With so many varieties of
leafy greens coming from our local farmers each week, it
can be difficult to figure out which is which. Though these
leaves may appear similar at a glance, they are actually
quite unique in terms of Shape, Texture and Color. And with
the increasing use of innovative computer technology,
digitalized ways have become a possibility for plant
identification. There is a tool in programming that be able to
develop a system where, just having an image, can
recognized an image and match it with the information in
the database. This tool may solve a case in determining
easily the vegetables just through the photograph of their
leaves and it is called image processing. Image
processing is a method to convert an image into digital form
and perform some operations on it, in order to get an
enhanced image or to extract some useful information from
it. It is a type of signal dispensation in which input is image,
like video frame or photograph and output may be image or
characteristics associated with that image. Usually Image
Processing system includes treating images as two
dimensional signals while applying already set signal
processing methods to them. With the help of image
processing, developers can now do research study wherein
it involves pattern recognition and automatic classification
tools that will determine the species of the subject. And,
Leaf Recognition is now emerging for research purposes.
Leaf recognition technology plays an important role in plant
classification and its key issue lies in whether selected
features are stable and have good ability to discriminate
different kinds of leaves. It is well known that the correct
way to extract plant features involves plant recognition
based on leaf images. In particular, identification process is
carried out by gathering leaves detached from the plants,
treated and stained prior to the imaging. The first step of the
algorithm is the isolation of the leaf by thresholding. In the
following, the image is transformed from RGB to gray scale
and proceeds to the method of extracting and matching.
The main objective of the study, A Leaf Recognition of
Vegetables using Matlab, is to create an Informative
Vegetables Leaf Recognition using Matlab to help the
IJSTR2016
www.ijstr.org
INTERNATIONAL JOURNAL OF SCIENTIFIC & TECHNOLOGY RESEARCH VOLUME 5, ISSUE 02, FEBRUARY 2016
ISSN 2277-8616
39
IJSTR2016
www.ijstr.org
INTERNATIONAL JOURNAL OF SCIENTIFIC & TECHNOLOGY RESEARCH VOLUME 5, ISSUE 02, FEBRUARY 2016
III. METHODOLOGY
The researchers used Linear Sequential Model as a
research design of the study. Each phase has a set of welldefined goals, and the activities within any phase contribute
to the satisfaction of that phase's goals or perhaps a
subsequent phase's goals.
ISSN 2277-8616
Functions
This button will allow
the user to open the
camera in the studio
that is connected in
computer.
Once the user opened
the camera the Capture
button will enable and
allow the user to
capture the vegetable
leaf that is inside the
studio.
If the captured image is
not properly taken, you
can use the Re-capture
function that will allow
the user to capture I
vegetable leaf again.
A. System Analysis
In this phase, the researchers started gathering different
vegetable leaves to be used in the study. Also, determining
what leaf feature the program should process in leaf
recognizing was established.
Research Subject
The vegetable leaves are the subject of this study. The
researchers decided to conduct an experimental method for
acquiring results using vegetable leaf recognition software.
The researchers gather different kinds of vegetable leaves
to analyze, gathered data and capture images in the studiotype box afterward to be use on recognizing process for
experimental testing.
B. System Design
The researchers, in this phase, determine how the project
will be physically created.
40
IJSTR2016
www.ijstr.org
INTERNATIONAL JOURNAL OF SCIENTIFIC & TECHNOLOGY RESEARCH VOLUME 5, ISSUE 02, FEBRUARY 2016
Buttons
ISSN 2277-8616
Functions
This button will allow the user to
open the camera in the studio that is
connected in computer.
This button will temporarily save the
captured vegetable leaf image in the
add new folder.
After taking several picture of the
vegetable leaves. This button will
allow user to input the vegetables
information.
After capturing the images of
vegetable leaf and filling the
vegetable information, user can now
save the new vegetable with this
button. The captured images that
are temporarily save in add new
folder will move to the database
folder then using Gabor filter, the
program will save the features
vector of the leaves and the
information of the new vegetable in
the database.
IJSTR2016
www.ijstr.org
INTERNATIONAL JOURNAL OF SCIENTIFIC & TECHNOLOGY RESEARCH VOLUME 5, ISSUE 02, FEBRUARY 2016
ISSN 2277-8616
TABLE I. ACCURACY
E. Implementation
This is the stage where the system is first transferred to the
users premises and the users get a chance to work with the
new system. The system requires Matlab 7.12.0 (R2011a)
stable version in order to implement the system with
Microsoft Office Access 2003 for database. And also the
system needs a high definition camera and a studio-type
box with a good lighting. These two will help to give a clear
image of the vegetable leaf.
Research Setting
The researchers based the setting of the study where the
availability of vegetable leaves needed is present. These
places were Bureau of Agriculture Researches (BAR) and
Bureau of Plant Industry (BPI) located at Visayas Avenue
Cor. Elliptical Road, Diliman Quezon City.
IV. RESULTS
This chapter includes an experiment and data gathering of
the program, A Leaf Recognition of Vegetables. With the
real-time testing, each of twenty (20) different vegetables
leaves undergo in twenty (20) trials. It is to determine the
Level of Accuracy and the Reliability of the propose system.
Next table shows the consistency in producing correct
results of the system though it changes into 20 different
leaves accordingly.
42
IJSTR2016
www.ijstr.org
INTERNATIONAL JOURNAL OF SCIENTIFIC & TECHNOLOGY RESEARCH VOLUME 5, ISSUE 02, FEBRUARY 2016
Criteria
Percentage
Accuracy
90.5
Reliability
90.75
Average
90.625
V. DISCUSSION
The findings are based on how the respondents evaluate
the system through experimental method. Experimental
form with 1-0 response was used by the respondents to test
the system. Based on the data gathered by the researchers
through testing the system in terms of accuracy, The
vegetable leaf Bottle gourd test twenty out of twenty (20 out
of 20) matched. The accuracy percentage of Bottle gourd is
100%. The vegetable leaf Bitter gourd test twenty out of
twenty (20 out of 20) matched. The accuracy percentage of
Bitter gourd is 100%. The vegetable leaf Cassava test
seventeen out of twenty (17 out of 20) matched. The
accuracy percentage of Cassava is 85%. The vegetable
leaf Eggplant test fifteen out of twenty (15 out of 20)
matched. The accuracy percentage of Eggplant is 75%.
The vegetable leaf Hot Pepper test eighteen out of twenty
(18 out of 20) matched. The accuracy percentage of Hot
Pepper is 90%. The vegetable leaf Jute test eighteen out of
twenty (18 out of 20) matched. The accuracy percentage of
Jute is 90%. The vegetable leaf Malabar nightshade test
fifteen out of twenty (15 out of 20) matched. The accuracy
percentage of the Malabar nightshade is 75%. The
vegetable leaf Miracle of Hyacint Beans test forteen out of
twenty (14 out of 20) matched. The accuracy percentage of
Miracle of Hyacint Beans is 70%. The vegetable leaf
Moringa test eighteen out of twenty (18 out of 20) matched.
The accuracy percentage of Moringa is 90%. The vegetable
leaf mustard test sixteen out of twenty (16 out of 20)
matched. The accuracy percentage of mustard is 80%. The
vegetable leaf onion test nineteen out of twenty (19 out of
20) matched. The accuracy percentage of onion is 95%.
The vegetable leaf papaya test twenty out of twenty (20/20)
matched. The accuracy percentage of papaya is 100%. The
vegetable leaf pechay test sixteen out of twenty (16 out of
20) matched. The accuracy percentage of pechay is 80%.
The vegetable leaf Sponge gourd test sixteen out of twenty
(16 out of 20) matched. The accuracy percentage of
Sponge gourd is 80%. The vegetable leaf String beans test
twenty out of twenty (20 out of 20) matched. The accuracy
percentage of String beans is 100%. The vegetable leaf
squash test twenty out of twenty (20 out of 20) matched.
The accuracy percentage of squash is 100%. The
vegetable leaf sweet potato test twenty out of twenty (20
out of 20) matched. The accuracy percentage of sweet
potato is 100%. The vegetable leaf taro test twenty out of
twenty (20 out of 20) matched. The accuracy percentage of
taro is 100%. The vegetable leaf tomato test twenty out of
ISSN 2277-8616
VI. CONCLUSIONS
After the processing of data gathered in this study, the
researchers have come up with the following conclusion:
1
The researchers were able to analyze where the
image leaf should undergo.
2
The researchers designed the proposed system, A
Leaf Recognition of Vegetable which can determine
the identification of the leaf tested with the use of
Linear Sequential Model as the Research Subject.
3
The researchers code or built an image processing
system using Matrix Laboratory (Matlab) as the
primary programming language.
4
The researchers tested the program by experimental
evaluation. By having the computed information, the
system gives an accuracy of ninety percent (90%).
And the researchers also conclude that the propose
system can give a reliable result with the percentage
of ninety (90%), as long as the vegetable leaf is in the
right position, the lighting and the camera device is in
good condition, and the shape of the leaf can be
distinguish, not deformed nor damaged.
43
IJSTR2016
www.ijstr.org
INTERNATIONAL JOURNAL OF SCIENTIFIC & TECHNOLOGY RESEARCH VOLUME 5, ISSUE 02, FEBRUARY 2016
VII.
RECOMMENDATION
ACKNOWLEDGMENT
A lot of time, effort and sweat were spent in making this
study. For this, with sincere appreciation and deepest
gratitude, the researchers would like to acknowledge the
following who contributed much to realization of this
research paper. First, to All Mighty God, our creator, for
giving us strength to accomplished this research. To our
Alma Mater, the Our Lady of Fatima University for giving us
the opportunity to conduct this study which greatly
contributed towards the enhancement of our critical
thinking. To the faculty members of Information Technology
(IT) department, for teaching and sharing their knowledge,
time, as well as their skills towards improving the quality of
this research. To the respondents from Bureau of
Agricultural Resources (BAR) and Bureau of Plant Industry
(BPI) for their willingness and unselfishness cooperation on
answering our tool which made our experimentation a
successful one. More importantly, to our parents, relatives
and friends for their moral and financial support, and also
for the encouragement they have provided.
REFERENCES
[1] Gonzalez R.C. & Woods R. E. (2002). Digital Image
Processing Second Edition. PWS Publishing, New
York.
[2] Gonzalez R. C., Woods R. E. & Eddins S. L. (2009).
Digital Image Processing Using MATLAB. PWS
Publishing, New York.
[3] Bhardwaj A., Kaur M. & Kumar A. (2013). Recognition
of plants by Leaf Image using Moment Invariant and
ISSN 2277-8616
GUI
IJSTR2016
www.ijstr.org
INTERNATIONAL JOURNAL OF SCIENTIFIC & TECHNOLOGY RESEARCH VOLUME 5, ISSUE 02, FEBRUARY 2016
ISSN 2277-8616
45
IJSTR2016
www.ijstr.org