This study aims to develop an automatic system for detecting the quality of loose fruit of the oil palm using the YOLOv8 algorithm based on digital imaging. A total of 200 loose fruit samples were classified into four quality categories: fresh, rotten, dry, and mouldy. Image acquisition was conducted using an RGB camera with a resolution of 640×480 pixels, resulting in 800 labeled images. The …