Artificial Intelligence-Based Real-Time Pineapple Quality Classification Using Acoustic Spectroscopy

The pineapple is an essential fruit in Taiwan. Farmers separate pineapples into two types, according to the percentages of water in the pineapples. One is the “drum sound pineapple” and the other is the “meat sound pineapple”. As there is more water in the meat sound pineapple, the meat sound pineap...

Full description

Bibliographic Details
Published in:Agriculture
Main Authors: Ting-Wei Huang, Showkat Ahmad Bhat, Nen-Fu Huang, Chung-Ying Chang, Pin-Cheng Chan, Arnold R. Elepano
Format: Article
Language:English
Published: MDPI AG 2022-01-01
Subjects:
Online Access:https://www.mdpi.com/2077-0472/12/2/129
_version_ 1850759297553661952
author Ting-Wei Huang
Showkat Ahmad Bhat
Nen-Fu Huang
Chung-Ying Chang
Pin-Cheng Chan
Arnold R. Elepano
author_facet Ting-Wei Huang
Showkat Ahmad Bhat
Nen-Fu Huang
Chung-Ying Chang
Pin-Cheng Chan
Arnold R. Elepano
author_sort Ting-Wei Huang
collection DOAJ
container_title Agriculture
description The pineapple is an essential fruit in Taiwan. Farmers separate pineapples into two types, according to the percentages of water in the pineapples. One is the “drum sound pineapple” and the other is the “meat sound pineapple”. As there is more water in the meat sound pineapple, the meat sound pineapple more easily rots and is more challenging to store than the drum sound pineapple. Thus, farmers need to filter out the meat sound pineapple, so that they can sell pineapples overseas. The classification, based on striking the pineapple fruit with rigid objects (e.g., plastic rulers) is most commonly used by farmers due to the negligibly low costs and availability. However, it is a time-consuming job, so we propose a method to automatically classify pineapples in this work. Using embedded onboard computing processors, servo, and an ultrasonic sensor, we built a hitting machine and combined it with a conveyor to automatically separate pineapples. To classify pineapples, we proposed a method related to acoustic spectrogram spectroscopy, which uses acoustic data to generate spectrograms. In the acoustic data collection step, we used the hitting machine mentioned before and collected many groups of data with different factors; some groups also included the noise in the farm. With these differences, we tested our deep learning-based convolutional neural network (CNN) performances. The best accuracy of the developed CNN model is 0.97 for data Group V. The proposed hitting machine and the CNN model can assist in the classification of pineapple fruits with high accuracy and time efficiency.
format Article
id doaj-art-e2cd13ac0efb43deb2f024b3fcf0a0ce
institution Directory of Open Access Journals
issn 2077-0472
language English
publishDate 2022-01-01
publisher MDPI AG
record_format Article
spelling doaj-art-e2cd13ac0efb43deb2f024b3fcf0a0ce2025-08-19T22:34:21ZengMDPI AGAgriculture2077-04722022-01-0112212910.3390/agriculture12020129Artificial Intelligence-Based Real-Time Pineapple Quality Classification Using Acoustic SpectroscopyTing-Wei Huang0Showkat Ahmad Bhat1Nen-Fu Huang2Chung-Ying Chang3Pin-Cheng Chan4Arnold R. Elepano5Department of Computer Science, National Tsing Hua University, Hsinchu 300044, TaiwanICE, College of Electrical Engineering and Computer Science, National Tsing Hua University, Hsinchu 300044, TaiwanDepartment of Computer Science, National Tsing Hua University, Hsinchu 300044, TaiwanDepartment of Computer Science, National Tsing Hua University, Hsinchu 300044, TaiwanISA, College of Electrical Engineering and Computer Science, National Tsing Hua University, Hsinchu 300044, TaiwanCollege of Engineering and Agro-Industrial Technology, University of the Philippines Los Banos, College Batong Malake, Los Banos 4031, PhilippinesThe pineapple is an essential fruit in Taiwan. Farmers separate pineapples into two types, according to the percentages of water in the pineapples. One is the “drum sound pineapple” and the other is the “meat sound pineapple”. As there is more water in the meat sound pineapple, the meat sound pineapple more easily rots and is more challenging to store than the drum sound pineapple. Thus, farmers need to filter out the meat sound pineapple, so that they can sell pineapples overseas. The classification, based on striking the pineapple fruit with rigid objects (e.g., plastic rulers) is most commonly used by farmers due to the negligibly low costs and availability. However, it is a time-consuming job, so we propose a method to automatically classify pineapples in this work. Using embedded onboard computing processors, servo, and an ultrasonic sensor, we built a hitting machine and combined it with a conveyor to automatically separate pineapples. To classify pineapples, we proposed a method related to acoustic spectrogram spectroscopy, which uses acoustic data to generate spectrograms. In the acoustic data collection step, we used the hitting machine mentioned before and collected many groups of data with different factors; some groups also included the noise in the farm. With these differences, we tested our deep learning-based convolutional neural network (CNN) performances. The best accuracy of the developed CNN model is 0.97 for data Group V. The proposed hitting machine and the CNN model can assist in the classification of pineapple fruits with high accuracy and time efficiency.https://www.mdpi.com/2077-0472/12/2/129pineapple classificationacoustic spectroscopyconvolutional neural networkartificial intelligenceagriculture engineering
spellingShingle Ting-Wei Huang
Showkat Ahmad Bhat
Nen-Fu Huang
Chung-Ying Chang
Pin-Cheng Chan
Arnold R. Elepano
Artificial Intelligence-Based Real-Time Pineapple Quality Classification Using Acoustic Spectroscopy
pineapple classification
acoustic spectroscopy
convolutional neural network
artificial intelligence
agriculture engineering
title Artificial Intelligence-Based Real-Time Pineapple Quality Classification Using Acoustic Spectroscopy
title_full Artificial Intelligence-Based Real-Time Pineapple Quality Classification Using Acoustic Spectroscopy
title_fullStr Artificial Intelligence-Based Real-Time Pineapple Quality Classification Using Acoustic Spectroscopy
title_full_unstemmed Artificial Intelligence-Based Real-Time Pineapple Quality Classification Using Acoustic Spectroscopy
title_short Artificial Intelligence-Based Real-Time Pineapple Quality Classification Using Acoustic Spectroscopy
title_sort artificial intelligence based real time pineapple quality classification using acoustic spectroscopy
topic pineapple classification
acoustic spectroscopy
convolutional neural network
artificial intelligence
agriculture engineering
url https://www.mdpi.com/2077-0472/12/2/129
work_keys_str_mv AT tingweihuang artificialintelligencebasedrealtimepineapplequalityclassificationusingacousticspectroscopy
AT showkatahmadbhat artificialintelligencebasedrealtimepineapplequalityclassificationusingacousticspectroscopy
AT nenfuhuang artificialintelligencebasedrealtimepineapplequalityclassificationusingacousticspectroscopy
AT chungyingchang artificialintelligencebasedrealtimepineapplequalityclassificationusingacousticspectroscopy
AT pinchengchan artificialintelligencebasedrealtimepineapplequalityclassificationusingacousticspectroscopy
AT arnoldrelepano artificialintelligencebasedrealtimepineapplequalityclassificationusingacousticspectroscopy