Design and development of an automated fruit quality classifier and sorter using a robotic arm

https://doi.org/10.55214/2576-8484.v9i10.10340

Authors

  • Tan Wei Xiang Faculty of Engineering and Technology, Multimedia University, Jalan Ayer Keroh Lama,75450 Melaka. Malaysia.
  • Lim Sin Ting Faculty of Engineering and Technology, Multimedia University, Jalan Ayer Keroh Lama,75450 Melaka. Malaysia.
  • Koo Voon Chet Faculty of Engineering and Technology, Multimedia University, Jalan Ayer Keroh Lama,75450 Melaka. Malaysia.
  • Lim Way Soong Faculty of Engineering and Technology, Multimedia University, Jalan Ayer Keroh Lama,75450 Melaka. Malaysia.

This study presents the design and development of an automated apple quality classification and sorting system to overcome key limitations of manual grading, such as inconsistency, inaccuracy, and labor dependency. The primary objectives are to detect and classify fruit quality based on visual parameters such as color, shape, and defects, and to employ a robotic arm that autonomously sorts the apples into predefined quality categories based on the classification results. A YOLOv8 segmentation model was trained and deployed on a Raspberry Pi 4 Model B to perform real-time classification of apples as good or bad. Further analysis using OpenCV was applied to good apples by evaluating red color ratio and fruit size (height and width) to determine premium or standard grade. The hardware setup includes a PiCamera for image capture and servo motors for sorting and rotating apples to support both single-side and multiple-side detection modes. The YOLOv8 system achieved a mean average precision (mAP) of 96.56%. Hardware testing demonstrated improved classification accuracy from 97% using single-side detection to 100% using multiple-side detection across 60 apple samples. A Tkinter-based graphical user interface (GUI) was developed to allow users to control detection modes, view classification outcomes, and monitor sorting actions in real time. This system offers a low-cost and scalable solution for automated fruit sorting. Its adaptability to multiple detection angles and integration with physical sorting mechanisms make it a practical option for small-scale agricultural automation and research environments.

How to Cite

Xiang, T. W., Ting, L. S., Chet, K. V., & Soong, L. W. (2025). Design and development of an automated fruit quality classifier and sorter using a robotic arm. Edelweiss Applied Science and Technology, 9(10), 32–49. https://doi.org/10.55214/2576-8484.v9i10.10340

Downloads

Download data is not yet available.

Dimension Badge

Download

Downloads

Issue

Section

Articles

Published

2025-10-03