article
Visual inspection of cocoa beans is vital for quality control in the agri-food industry, yet traditional methods such as the cut test remain subjective and labor-intensive. Conventional Machine Learning (ML) and Deep Learning (DL) models show good performance in binary classification but often struggle with multi-class tasks and non-standard image conditions.This study introduces a Quaternion Convolutional Neural Network (QCNN) designed to capture inter-channel correlations in color images within both RGB and CIE XYZ spaces. The model was trained and validated on 1,788 cocoa bean images divided into six quality classes, collected under uncontrolled real-world conditions. Data were split into 80% for training and 20% for testing while maintaining class balance. Experimental results show that the QCNN outperforms MobileNetV2 and ResNet50, achieving accuracies of 91% in RGB and 93% in CIE XYZ spaces. Compact and efficient, the QCNN (2.7 MB) processes each image in 12 ms, demonstrating robustness and practicality for automated cocoa bean classification under variable imaging conditions.
This page summarises published work. The authoritative version sits with the publisher.
DOI: 10.63156/mjes07
Is something wrong with this record? Report it or request removal.
Discussion
Have you built on this work, tried to replicate it, or seen it applied in practice? Share what you know. Verified researchers and MARATTO™ domain experts can open a discussion, and any member can reply. Contributions are reviewed before they appear.
No discussion yet. Open the first thread.
New to MARATTO™? Create a free account.