Automated Cocoa Bean Classification and Defect Detection Based on ASEAN Standard Using Image Processing and Feature-Based Analysis

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. Keywords: Defect Detection; MATLAB; cocoa bean grading; ASEAN Standard; digital image processing; computer vision

Authors

Institutions

Publication Details

Journal
International Journal of Electrical and Electronics Engineering
Published
2026-09-14
DOI
https://doi.org/10.64823/ijeee.2601005
Primary Topic
Smart Agriculture and AI
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
article

Automated Cocoa Bean Classification and Defect Detection Based on ASEAN Standard Using Image Processing and Feature-Based Analysis

Jennifer Natnat
International Journal of Electrical and Electronics Engineering
Smart Agriculture and AI
article

Automated Cocoa Bean Classification and Defect Detection Based on ASEAN Standard Using Image Processing and Feature-Based Analysis

Jennifer Natnat
article en

Abstract

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. Keywords: Defect Detection; MATLAB; cocoa bean grading; ASEAN Standard; digital image processing; computer vision

International Journal of Electrical and Electronics EngineeringVol. 1(1)
Cavite State University (PH)
Openalex Percentile: Top 13%
Smart Agriculture and AI
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.