Design and Development of a Lime Fruit Grading and Sorting Machine Using the AIoT Approach

Main Article Content

Nuth Otanasap
Siriwich Tadsuan
Veerapong Kanchanawongkul
Sutamet Ridcham
Chanintorn Chalermsuk

Abstract

Inspired by the operational inconsistencies and human fatigue associated with manual lime grading, this research presents an automated sorting system that integrates Artificial Intelligence (AI) and the Internet of Things (IoT) into a single edge computing platform. The primary objective is to replace subjective manual assessments with a high-speed, standardized system employing computer vision technology to enhance post-harvest agricultural productivity. The methodology consists of training a lightweight YOLOv8n object detection model on a custom dataset of 7,621 images and subsequently deploying it on a Raspberry Pi 5 hardware platform. This edge device is equipped with specialized servo drives and an IoT-based Flutter application for real-time remote yield monitoring. Extensive trials conducted on an active conveyor belt system demonstrated an overall grading accuracy of 96.86%, with a 100% success rate in distinguishing between high-quality and defective limes. While minor spatial variations in the range of 1–2 mm were observed during size evaluation, the empirical results confirm the high reliability and industrial viability of the developed machine.

Downloads

Download data is not yet available.

Article Details

Section
Research Articles
Author Biography

Nuth Otanasap, Faculty of Engineering, Southeast Asia University, Bangkok, 10160, Thailand

ณัฏฐ์ โอธนาทรัพย์

References

[1] Goyal, A.; Lakhwani, K. Integrating Advanced Deep Learning Techniques for Enhanced Detection and Classification of Citrus Leaf and Fruit Diseases. Sci. Rep. 2025, 15(1), 12659. https://doi.org/10.1038/s41598-025-97159-0

[2] Xiang, T. W.; Ting, L. S.; Chet, K. V.; Soong, L. W. Design and Development of an Automated Fruit Quality Classifier and Sorter Using a Robotic Arm. Edelweiss Appl. Sci. Technol. 2025, 9(10), 32–49. https://doi.org/10.55214/2576-8484.v9i10.10340

[3] Sapkota, R.; Karkee, M. Comparing YOLOv11 and YOLOv8 for Instance Segmentation of Occluded and Non-occluded Immature Green Fruits in Complex Orchard Environment. arXiv 2024, arXiv:2410.19869.

[4] Joshi, H. Edge-AI for Agriculture: Lightweight Vision Models for Disease Detection in Resource-Limited Settings. arXiv 2024, arXiv:2412.18635.

[5] Otanasap, N.; Chalermsuk, C.; Bungkomkhun, P. A Survey of IoT: Advances in Smart and Dynamic Environmental Monitoring. In Proceedings of the 8th International Conference on Environmental Engineering, Science and Management; 2019.

[6] Anusha, K.; Uma, K.; Jayasri, K.; Kambham, S.; Dandamudi, S. D. IoT Based Food Spoilage Detection Using Machine Learning Techniques. In Proceedings of the 2024 International Conference on Advances in Computing, Communication and Applied Informatics (ACCAI); IEEE, 2024; pp 1–7. https://doi.org/10.1109/ACCAI61061.2024.10602355

[7] Cong, G.; Chen, X.; Bing, Z.; Liu, W.; Chen, X.; Wu, Q.; Guo, Z.; Zheng, Y. YOLOv8-Scm: An Improved Model for Citrus Fruit Sunburn Identification and Classification in Complex Natural Scenes. Front. Plant Sci. 2025, 16, 1591989. https://doi.org/10.3389/fpls.2025.1591989

[8] Hayat, A.; Morgado-Dias, F.; Choudhury, T.; Singh, T. P.; Kotecha, K. FruitVision: A Deep Learning Based Automatic Fruit Grading System. Open Agric. 2024, 9(1), 20220276. https://doi.org/10.1515/opag-2022-0276

[9] Terven, J.; Córdova-Esparza, D. M.; Romero-González, J. A. A Comprehensive Review of YOLO Architectures in Computer Vision: From YOLOv1 to YOLOv8 and YOLO-NAS. Mach. Learn. Knowl. Extr. 2023, 5(4), 1680–1716. https://doi.org/10.3390/make5040083

[10] Somsupharprungyos, S.; Tanveenukul, R.; Nokkruth, B. The Development of a Real-Time Data Collection System from Sensor Networks to Support Smart Farming Application Development in Communities. SAU J. Sci. Technol. 2024, 10, 74–84.

[11] Otanasap, N.; Tadsuan, S.; Chalermsuk, C. An AIoT-Based Air Quality Monitoring System for Real-Time PM2.5 Prediction in Urban Environments. ASEAN J. Sci. Technol. Rep. 2025, 28(1), e255168. https://doi.org/10.55164/ajstr.v28i1.255168

[12] Suksukont, A. Development of Counting and Analysis Lemons System with Computer Vision Technology. J. Inf. Sci. Technol. 2023, 13(1), 10–16.

[13] Rodkasem, S.; Wongpotha, S.; Yoddamnern, T. Lemon Color and Size Sorting Machine. In Proceedings of the 4th National Conference on Learning Innovation and Invention 2020; Pathum Thani, Thailand, December 17, 2020; Rajamangala University of Technology Thanyaburi: Pathum Thani, Thailand, 2020.

[14] Boonsem, T. Surface Defect Detection in Lime by Using Computer Vision; Master's Independent Study, Sirindhorn International Institute of Technology, Thammasat University: Thailand, 2022.