An acoustic-mechanical sensing system with multimodal machine learning techniques for in-line quality grading of watermelons
Main Article Content
Abstract
A complete assessment of both internal and external quality parameters of watermelons is essential for export. However, small and medium-sized watermelon export enterprises often face challenges in accessing cost-effective and integrated grading systems. This study proposes an acoustic-mechanical sensing system for classifying watermelons based on both sweetness and weight. By combining weight measurement and sweetness estimation through acoustic analysis at a single station, the proposed system achieves a compact design and reduces data acquisition time. Additionally, a multimodal machine learning approach is applied to classify watermelon quality accurately. Among the tested models, the K-Nearest Neighbors model achieves the highest classification performance, with an accuracy of 97.3% and a precision of 96.6%. With its strong classification ability, integrated design, and low cost, the proposed system shows great potential for automated in-line quality grading of watermelons and other agricultural products. Unlike conventional large-scale systems that cascade individual grading functions, the integrated and cost-effective design of this system is suitable for small and medium-sized watermelon export enterprises to apply at each distributed shipping facility during intensive periods.
Article Details

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.
References
Ali, M., Hashim, N., Bejo, S. K., & Shamsudin, R. (2017). Rapid and nondestructive techniques for internal and external quality evaluation of watermelons: A review. Scientia Horticulturae, 225, 689–699. https://doi.org/10.1016/j.scienta.2017.08.012
Jie, D., & Wei, X. (2018). Review on the recent progress of non-destructive detection technology for internal quality of watermelon. Computers and Electronics in Agriculture, 151(15), 156–164. https://doi.org/10.1016/j.compag.2018.05.031
Khoshnam, F., Namjoo, M., & Golbakhshi, H. (2015). Acoustic testing for melon fruit ripeness evaluation during different stages of ripening. Agriculturae Conspectus Scientificus, 80(4), 197–204. https://hrcak.srce.hr/en/clanak/231272
Liu, Y., Keefer, H., Watson, M., & Drake, M. (2024). Consumer perception of whole watermelons. Journal of Food Science, 89(1), 625–639. https://doi.org/10.1111/1750-3841.16843
Liza Pintor, A. C., Anthony Magpantay, M. A., & Santiago, M. R. (2016). Development of an Android-Based Maturity Detector Mobile Application for Watermelons [Citrullus Lanatus (Thunb.) Matsum. & Nakai] using Acoustic Impulse Response. Philippine E-Journal for Applied Research and Development, 6, 44–56. https://pejard2.slu.edu.ph/wp-content/uploads/2023/05/2016.05.26.pdf
Nguyen, H.-P., Huynh, V.-L., Duong, T.-P., Nguyen, C.-N., & Tran, N.-T. (2025). Machine Learning-Based Acoustic System for Maturity Classification of Durian Fruit Before Harvesting. In: Thai-Nghe, N., Do, TN., Benferhat, S. (Eds.), Intelligent Systems and Data Science. ISDS 2024. Communications in Computer and Information Science, vol 2190. Springer, Singapore (pp. 33–46). https://doi.org/10.1007/978-981-97-9613-7_3
Raspberry Pi 3 Model B+. (2025). Raspberry Pi Ltd. https://datasheets.raspberrypi.com/rpi3/raspberry-pi-3-b-plus-product-brief.pdf
Thuc, L. V., & Minh, V. Q. (2022). Improvement of glutinous corn and watermelon yield by lime and microbial organic fertilizers. Applied and Environmental Soil Science, 2022, 1–7. https://doi.org/10.1155/2022/2611529
Tran, N.-T., Nguyen, C.-T., Nguyen, H.-P., Truong, G.-T., Nguyen, C.-N., & Fukuzawa, M. (2024). Development of a new acoustic system for nondestructive internal quality assessment of fruits. In N. Thai-Nghe, T.-N. Do, & P. Haddawy (Eds.), In: Thai-Nghe, N., Do, TN., Haddawy, P. (Eds.), Intelligent Systems and Data Science. ISDS 2023. Communications in Computer and Information Science, vol 1949. Springer, Singapore (pp. 31–42). Springer Nature Singapore. https://doi.org/10.1007/978-981-99-7649-2_3
Tran, N.-T., Phan, Q.-T., Nguyen, C.-N., & Fukuzawa, M. (2021). Machine learning-based classification of apple sweetness with multispectral sensor. 2021 21st ACIS International Winter Conference on Software Engineering, Artificial Intelligence, Networking and Parallel/Distributed Computing (SNPD-Winter), 23–27. https://doi.org/10.1109/SNPDWinter52325.2021.00014
Yu, G., Ma, B., Li, Y., & Dong, F. (2024). Quality detection of watermelons and muskmelons using innovative nondestructive techniques: A comprehensive review of novel trends and applications. Food Control, 165, 110688. https://doi.org/10.1016/j.foodcont.2024.110688
Zeng, W., Huang, X., Müller Arisona, S., & McLoughlin, I. V. (2014). Classifying watermelon ripeness by analysing acoustic signals using mobile devices. Personal and Ubiquitous Computing, 18(7), 1753–1762. https://doi.org/10.1007/s00779-013-0706-7