Sei sulla pagina 1di 8

MATURITY CLASSIFICATION OF CACAO BY IMAGE

PROCESSING AND ACOUSTIC SENSING

Princes D. Carbajosa Devy C. Lugay Rolaine Keith C. Tan


University of Southeastern University of Southeastern University of Southeastern
Philippines, Obrero Philippines, Obrero Philippines, Obrero
Campus Campus Campus
princescarbajosa@gmail.com devylugay504@gmail.com schmaltzickeith@gmail.com

Keywords: image processing, acoustic Cacao that are harvested are


sensing, fruit-grading, Cacao, ripeness classified into several ripeness indexes. In
160 to 180 days Cacao pods are formed,
I. INTRODUCTION grow to maturity and ripen. One of the
Philippines has a great potential in Physical Indicator of the level of pod’s
growing Cacao. [1] maturity is the change in color, green turns
Due to its long history in the Philippines, it yellow, or dark – red purple to yellow or
has become an integral part of Filipino orange [2]. As better guide according to
culture. While the production of tablea is skilled-farmers when the cacao pod gives off
and always should be an important part of a hollow sound, cacao beans are loose, a
our heritage, the country can stand to benefit sure indication that the pod is fully-ripe [3].
more from this key global commodity by In harvesting the pods of cacao one basic
rehabilitating our native varieties and basis in identifying its maturity level is by
investing in technology in order to improve color and shape inspection. However, the
the production of our products. visual inspection of cacao’s maturity level is
One of the critical steps in cacao highly subjective that may sometimes
process is harvesting. From the farmers mislead the farmers in identifying whether
point of view harvesting is time-consuming the Cacao is mature or not. Also, it is quite
and somehow intensive in labor since pods time consuming and requires excessive load
on a tree do not ripe at the same time and for the farmers [4].
ripeness identification needs thorough There have been many studies
inspection because of this. Although pods conducted using non-destructive ways of
are still suitable for harvest within 2-3 measurements, one of these are the acoustic
weeks and can be left on the tree, it is not sensing [5] and the image processing [6].
guaranteed that the pod will not turn black Studies conducted proved that these
causing for the beans inside the pod to rot. methods are very reliable in the
On the other hand, in the same way it is determination of fruit ripeness. Most fruit
important not to harvest the pod too soon ripeness researches by acoustic sensing used
since this time the fruit does not continue to piezoelectric sensors in testing fruits such as
ripe after harvest and the beans inside will melon [7] apple [8] and peach [9]
not be ready for fermenting. Therefore, it is meanwhile in image processing researches
a great factor to identify the fully-ripened used computer vision in different fruits one
pods suitable for harvest to optimize the of these are banana [10] and orange [11]. In
yield of quality of cacao beans. recent years, researchers had developed
numerous algorithms for fruit grading using using an optical scanner or by using digital
computer vision through color, textural and photography, second is the critical analysis
morphological features. [12] and manipulation of the image which
The researchers limits the study into comprises image enhancement and data
one specific variety of cacao namely UF-18. compression, and the detection of patterns
According to the Philippine National Seed that are not visible to human eyes, and lastly
Industry Council (NSIC), among all the evaluating the result of the altered image
varieties, the UF-18 cacao variety has the based on the image analysis. [14]
longest life span of 20 years, having the
most number of beans that counts up to 41 Digital Image Processing is the application
beans per pod. The age it bears fruit is 29 of image processing on digital images.
months old and yields 3,110 kg/tree/year. Algorithms and techniques are applied in
Based on pod description, it has a length of handling the images by using computers. All
19.75 cm and a width of 9.63 cm. and when types of data have to undergo three phases
the cacao matures, its pod color turns to while using digital technique the data pre-
orange-yellow. However, it is mildly processing, enhancement and display, and
resistant to pod borer, dieback and pod rot the extraction of information. [15]
[13]. Fruit grading using image processing
The main objective of this study is to is the classification of fruit based on its
optimize the determination of the ripeness of physical Characteristics such as color, size,
Cacao through acoustic sensing and image shape, weight, specific gravity and freedom
processing as well as machine learning. of diseases depending upon agro climatic
Specifically, the study seeks to answer the conditions using computer vision. [16]
following objectives: 1) To design and Numerous processes in the field of
develop a device that will be able to classify fruit detection and fruit grading using image
the maturity of cacao. 2) To evaluate the processing have been recently developed.
effectively of image processing in analyzing The contribution of image processing in the
the color and the shape of cacao. 3) To test analyzation of the pre-harvested and post-
the accuracy of the proposed project in harvested crops drastically assisted the
classifying the maturity of cacao with the sector of agriculture. Through critical
use of image processing. analysis image process improves control in
the quality of various agricultural products.
Review of Related Literature
Even though Grading can be done
Image processing is a procedure that manually, it is slow, labor intensive, prone
includes conversion of an image into digital to error and tiresome. In the application of
form to which operations are performed in image processing in fruit grading, methods
order to enhance or extract some of its were developed by the recent researchers.
valuable information. It is a system which The most commonly used are the
involves image treatment using two identification of color, texture and
dimensional signals at the same time morphological features in determining the
applying the set signal processing methods disease, maturity and class of the fruit.
to the data. On a review made by Nalik L. And Patel B.
[17] shows a summary of accumulated
There are three basic steps in image results done by recent researchers with an
processing, first is the transfer of the image efficiency of 100% accuracy on color
detection of apples by Suresha et al. [18],
94% accuracy on color and texture detection Automatic Fruit Grading System using
of Chikoo fruit by Savakar [19] and in the Fuzzy Algorithm used to sort the fruits into
study on Lemon’s size and color detection four grades. [23] Jing Wang, Zhijie Xu and
by Khojastehnazhand et al. [20]. Yin Liu conducted a Texture-based
Hongwiangjan et al. conducted a Segmentation for Extracting Image Shape
maturity test of pomelo based on its acoustic Features Extracting shape characteristics.
response. Their classification model showed [24]
that pomelo fruits could be classified into Daniel Stanley Tan, Robert Neil
immature, early-mature and late-mature Leong, Ann Franchesca Laguna, Courtney
groups with an accuracy of 96.7% [22]. Anne Ngo, Angelyn Lao, Divina Amalin,
In the study of Adhi Harmoko and Dionisio Alvindia A Method for
Saputro, Syifa Dzulhijjah Juansyah and detecting and Segmenting Infected Part of
Windri Handayani, they created a Banana Cacao Pods Detecting and Segmenting
(Musa sp.) Maturity Prediction System Infected Part of Cacao Pods [27]
based on Chlorophyll Content using Visible- In addition to image processing the
NIR in imaging a machine vision technology researchers include acoustic sensing for best
[28]. As well as Vishes Goel, Tarun Jain, accuracy in Cacao’s ripeness identification.
Sahil Singhal and Silica Kole who uses Delan Zoe H. Arenga and Jennifer C. Dela
Specific Color Detection in Images using Cruz, stressed on their study the advantage
RGB Modelling in Mat Lab [29]. Ripeness of using Acoustic Sensing and Machine
level indication of bananas with visible and Learning to identify the ripeness
flourescent spectral images was created by classification of Cocoa through Frequency-
Yuttana Intaravanne, Sarun domain analysis using Fast Fourier
Sumriddetchkajorn and Jiti Nukeaw using Transform (FFT). [21].
2D spectral analysis for banana ripeness
estimation consist of smart mobile phone, Methodology
while light sources and ultraviolet light
sources [30]. Kranti Raut and Prof. Vibha I. Instrumentation
Bora Assessment of Fruit Maturity using The testing must be conducted to the Cacao
Digital Image Processing An automatic pods while it is still on the tree, data will be
vision based system for sorting and grading gathered using the built in microphone with
of fruit like cherry and strawberry based on active noise cancellation of an Android
their maturity level [26] smart phone and its camera for capturing
There is also a method for detecting photos. A sound recorder application was
and counting mature and immature fruits utilized to record and save the sound being
from images taken with a tree by Prabira produced by tapping the cocoa pod 4 times.
Kumar Sethy, Shwetapadma Panda and The photos will capture the image of a ripe,
Nilamani Bhoi on their study On-Tree unripe and an infected cacao. Data gathered
Detection and Counting of Mature and are sent to the PC which will be then
Immature Fruit of Carica Papaya using processed and analyzed through Mat lab. A
Image Processing Technique. [25] Chandra visual presentation of the signal flow
Sekhar Nandi, Bipan Tudu and Chiranjib diagram of the study is shown in Fig. 1
Koley created a Machine Vision Based
III. Data Processing
Segmenting data from data gathering
procedure.
IV. Feature Extraction
Data analysis using MatLab.

OTSU Method is used to automatically


perform clustering-based image thresholding
[1] or, the reduction of a graylevel image to
a binary image.

K-Means Method - Kmeans clustering is an


algorithm to classify or to group the objects
based on attributes/features into K groups.
The grouping is done by minimizing the
distances between data and the
II. Data Gathering corresponding cluster centroid. The distance
that will be used here is the L 2 distance
(d(x, y) = P i (xi − yi) 2) [1].
Texture Method - Segmentation is a
commonly used term for identifying
differences between particularly interesting
and uninteresting objects as well as
distinguishing foreground from background
The researchers plan to have a sample of at content [2].
least 100 cacao (ripe and unripe) for data
gathering. Both acoustic sensing and image Acoustic Sensing:
processing will be conducted to each of the SVM (Support Vector Machine) classifier
samples while still on tree to simulate the tool - involves features extracted jointly
harvester’s way of knocking the cacao pods. from inputs and outputs. It has excellent
as well as in analyzing the color and texture performance in generalization so it can
of the cacao pod. produce high accuracy in classification for

RIPE
machine condition monitoring and [7] F. Khoshnam, “Acoustic Testing for
diagnosis. Melon Fruit Ripeness Evaluation during Diff
V.Modelling erent Stages of Ripening,” vol. 80, no. 4, pp.
197–204.
Training and testing data set will be
label as “ripe” or “unripe”. In this part the [8] T. Tiplica, P. Vandewalle, S. Verron, C.
Grémy-Gros, E. Mehinagic, and others,
accuracy and the error percentage will be
ECTED “Identification of apple varieties using
determine to assess its performance.
acoustic measurements,” Conférence Int. en
Métrologie, 2010.
VI.Output
[9] A. H. Gómez, A. G. Pereira, W. Jun, and
Cacao Classification (ripe and unripe) H. Yong, “Acoustic testing for peach fruit
ripeness evaluation during peach storage stage
References Evaluación acústica de la madurez del
melocotón durante la fase de
[1] Businessdiary.com.ph. (2018). [online] almacenamiento,” vol. 14, pp. 28–34.
Available at:
https://businessdiary.com.ph/2191/cacao- [10] Ieeexplore.ieee.org. (2018). Banana
production-guide/ [Accessed 27 Sep. 2018] (Musa sp.) maturity prediction system based
on chlorophyll content using visible-NIR
[2] Bpi.da.gov.ph. (2018). [online] imaging - IEEE Conference Publication.
Available at: [online] Available at:
http://bpi.da.gov.ph/bpi/images/Production_gu https://ieeexplore.ieee.org/document/8373569
ide/pdf/Cacao%20Production%20Guide.pdf [Accessed 28 Sep. 2018].
[Accessed 27 Sep. 2018].
[11] Ieeexplore.ieee.org. (2018). Classification
[3][4]Ieeexplore.ieee.org. of oranges by maturity, using image
(2018). Identification of fruit size and maturity processing techniques - IEEE Conference
through fruit images using OpenCV-Python Publication. [online] Available at:
and Rasberry Pi - IEEE Conference https://ieeexplore.ieee.org/document/6983466
Publication. [online] Available at: [Accessed 28 Sep. 2018].
https://ieeexplore.ieee.org/document/8308068
[Accessed 28 Sep. 2018]. [12] Ieeexplore.ieee.org. (2018). Automatic
Fruit Grading and Classification System Using
[5] Sensorsmag.com. (2018). Acoustic Wave Computer Vision: A Review - IEEE
Technology Sensors | Sensors Magazine. Conference Publication. [online] Available at:
[online] Available at: https://ieeexplore.ieee.org/document/7306754
https://www.sensorsmag.com/components/aco [Accessed 28 Sep. 2018].
ustic-wave-technology-sensors [Accessed 28
Sep. 2018]. [13] Cidami.org. (2018). Varieties | CIDAMi -
Cacao Industry Development Association of
[6] Anbarjafari, G. (2018). 1. Introduction to Mindanao, Inc.. [online] Available at:
image processing. [online] Sisu.ut.ee. http://www.cidami.org/varieties/ [Accessed 28
Available at: Sep. 2018].
https://sisu.ut.ee/imageprocessing/book/1
[Accessed 28 Sep. 2018]. [14] Engineersgarage.com. (2018). What is
Image Processing : Tutorial with Introduction,
Basics, Types & Applications. [online]
Available at: https://ieeexplore.ieee.org/document/8269438
https://www.engineersgarage.com/articles/ima [Accessed 4 Sep. 2018].
ge- processing-tutorial-applications
[Accessed 1 Oct. 2018]. [22] J. Hongwiangjan, A. Terdwongworakul,
and K. Krisanapook, “Evaluation of pomelo
[15] Electronics For You. (2018). Digital maturity based on acoustic response and peel
Image Processing | Concepts of Image properties”, Int J Food Sci Tech, pp. 782-789,
Processing. [online] Available at: 2015.
https://electronicsforu.com/videos- [23] "Banana (Musa sp.) maturity prediction
slideshows/digital-image-processing system based on chlorophyll content using
[Accessed 6 Sep. 2018]. visible-NIR imaging - IEEE Conference
Publication", Ieeexplore.ieee.org, 2018.
[16] Agriinfo.in. (2018). Grading of Fruits and
Vegetables. [online] Available at: [Online]. Available:
http://agriinfo.in/default.aspx?page=topic&sup https://ieeexplore.ieee.org/document/8373569.
erid=2&topicid=2049 [Accessed 9 Sep. 2018]. [Accessed: 05- Sep- 2018].
[24] Ijcaonline.org, 2018. [Online]. Available:
[17] Nalik, S. and Patel, B. (2017). Machine https://www.ijcaonline.org/archives/volume16
Vision based Fruit Classification and Grading 1/number8/goel-2017-ijca-913254.pdf.
- A Review. International Journal of Computer [Accessed: 05- Sep- 2018].
Applications, 170(9), pp.22-34.
[25] "Ripeness level indication of bananas
with visible and fluorescent spectral images -
IEEE Conference
[18] M. Suresha, N.A. Shilpa, B. Soumaya, Publication", Ieeexplore.ieee.org, 2018.
“Apples Grading based on SVM classifier,” in [Online]. Available:
International Journal of Computer https://ieeexplore.ieee.org/document/6254230.
Applications on National Conference on [Accessed: 05- Sep- 2018].
Advanced Computing and Communication-
NCACC, April 2012.
[26] Ieeexplore.ieee.org. (2018). Estimation of
[19] D. Savakar, “Identification and volume and maturity of sweet lime fruit using
Classification of Bulk Fruits Images using image processing algorithm - IEEE
Artificial Neural Networks,” in International Conference Publication. [online] Available at:
Journal of Engineering and Innovative https://ieeexplore.ieee.org/document/7322703
Technology (IJEIT), vol. 1(3), March 2012. [Accessed 5 Sep. 2018].

[20] M. Khojastehnazhand, M. Omid, A. [27] Pdfs.semanticscholar.org. (2018).


Tabatabaeefar, “Development of Lemon [online] Available at:
Sorting System based on Color and Size,” in https://pdfs.semanticscholar.org/5abc/814e97c
African Journal of Plant Science vol. 4(4), pp. 98e409259a0fa3ec09829f66baa70.pdf
122-127, April 2010. [Accessed 4 Sep. 2018].
[21] Ieeexplore.ieee.org. (2018). Ripeness
[28] Ieeexplore.ieee.org. (2018). Machine
classification of cocoa through acoustic
vision based automatic fruit grading system
sensing and machine learning - IEEE
using fuzzy algorithm - IEEE Conference
Conference Publication. [online] Available at:
Publication. [online] Available at:
https://ieeexplore.ieee.org/document/6959043 https://ieeexplore.ieee.org/document/7519437
[Accessed 4 Sep. 2018]. [Accessed 5 Sep. 2018].

[29] Ieeexplore.ieee.org. (2018). Texture- [31]Team.inria.fr, 2018. [Online]. Available:


based segmentation for extracting image shape https://team.inria.fr/steep/files/2015/03/tp51.
features - IEEE Conference Publication. pdf. [Accessed: 02- Oct- 2018].
[online] Available at:
https://ieeexplore.ieee.org/document/6662034 [32]Pdfs.semanticscholar.org, 2018.
[Accessed 4 Sep. 2018]. [Online]. Available:
https://pdfs.semanticscholar.org/fc01/a84d6
[30] Ieeexplore.ieee.org. (2018). A framework 8cee5aa990035fc386c6476702c1ba8.pdf.
for measuring infection level on cacao pods - [Accessed: 02- Oct- 2018].
IEEE Conference Publication. [online]
Available at:

Potrebbero piacerti anche