Jennifer Natnat
student
Cavite State University · PH
1
Paper
143
Views
110
Downloads
Publishes In
Published Papers
https://doi.org/10.64823/ijeee.2601005
This study presents an automated cocoa bean classification and defect detection system developed in accordance with the ASEAN Standard for Cocoa Bean (ASEAN Stan 34:2014). Implemented in MATLAB, the system utilizes digital image processing and computer vision techniques to segment individual cocoa beans, extract geometric, color, and texture features, and classify them into quality categories: Extra Class, Class I, Class II, and Non-Compliant. The image processing workflow integrates color space transformations (RGB to HSV), adaptive thresholding, and morphological filtering to ensure accurate segmentation. Feature extraction targets parameters such as area, length, aspect ratio, texture entropy, and color uniformity to identify specific defects including moldy, slaty, insect-damaged, and germinated beans. Validation against independent expert grading achieved an overall reliability rate of 96.2%, with high precision (0.93) and recall (0.91), and an average processing speed of 1.3 seconds per image. The developed analyzer provides an objective, rapid, and repeatable tool to support standardization and postharvest cocoa quality control across the ASEAN region.