A Low-Cost Vision-based Fruit Sorting System for Robotic Applications

Afaq, Muhammad and Secco, Emanuele Lindo (2026) A Low-Cost Vision-based Fruit Sorting System for Robotic Applications. Scientific Journal of Engineering Research. ISSN 3109-1725

[thumbnail of SJER_MAfaq_v3.pdf] Text
SJER_MAfaq_v3.pdf - Accepted Version
Available under License Creative Commons Attribution.

Download (1MB)

Abstract

Modern robotic systems address complex engineering challenges using artificial intelligence and machine learning techniques. In agricultural robotics, fruit identification and sorting remain challenging due to var-iations in size, shape, color, orientation, and lighting conditions. This study presents the design and im-plementation of a vision-based fruit sorting robotic system integrating YOLOv8-based object detection with robotic manipulation. A custom dataset consisting of images of 2 different fruits (namely banana and strawberry images), including single-fruit and multi-fruit scenarios, was used and manually annotated using bounding boxes in CVAT. The dataset was divided into training, validation, and test subsets to ena-ble robust model development under realistic operational conditions. A lightweight YOLOv8 model was trained using CUDA acceleration and optimized for edge deployment by selecting YOLOv8n to balance inference speed and detection accuracy. The trained model was converted to ONNX format and deployed on a Raspberry Pi 5 for real-time inference using live camera input. Evaluation on an independent test dataset achieved a precision of 0.999, recall of 1.000, mAP@0.5 of 0.995, and mAP@0.5:0.95 of 0.963 under controlled experimental conditions with limited object classes. The modular architecture enables low-cost and scalable deployment and provides a foundation for future enhancements, including closed-loop robot-ic control, additional object categories, and operation in more dynamic environments.

Item Type: Article
Additional Information and Comments: Copyright(c) 2026 Muhammad Afaq, Emanuele Lindo Secco. This work is licensed under a Creative Commons Attribution 4.0 International License.
Faculty / Department: Faculty of Human and Digital Sciences > School of Computer Science and the Environment
Depositing User: Emanuele Secco
Date Deposited: 22 May 2026 09:16
Last Modified: 22 May 2026 09:16
URI: https://hira.hope.ac.uk/id/eprint/4908

Actions (login required)

View Item View Item