Hybrid Dual-Branch ResNet-101 with Canny Edge Detection for Arabica Coffee Bean Classification

Tiesya Andriani Ramadhanti (1) , Ernawati (1) , Widhia Oktoeberza KZ (1)
(1) Jurusan Informatika, Fakultas Teknik, Universitas Bengkulu, Bengkulu 38122, Indonesia, Indonesia

Abstract

Manual classification of Arabica coffee bean types is still largely performed by experts, making the process time-consuming and prone to subjectivity due to the visual similarity among bean types. This study aims to develop a digital image-based classification model using a Hybrid Dual-Branch architecture, evaluate its effectiveness using Baseline RGB and Baseline Edge, and visually interpret the model's decisions using Grad-CAM. The USK-Coffee dataset consists of 8,000 images in four classes (defect, longberry, peaberry, and premium). The proposed model processes RGB and Canny edge detection images using a shared-weight ResNet-101 backbone with frozen pretrained ImageNet weights, followed by feature fusion, a Squeeze-and-Excitation (SE) Block, and a fully connected layer. The Hybrid Dual-Branch model achieved the best overall performance, with an overall accuracy of 87.88% and macro-average precision, recall, and F1-score of 87.89%, 87.88%, and 87.86%, respectively, outperforming Baseline Edge (77.44%) and Baseline RGB (85.38%). These results demonstrate that integrating RGB and Canny edge detection representations improves the classification of Arabica coffee bean types.

Full text article

Generated from XML file

Authors

Tiesya Andriani Ramadhanti
tiesyaandriani5@gmail.com (Primary Contact)
Ernawati
Widhia Oktoeberza KZ
[1]
T. A. Ramadhanti, Ernawati, and W. Oktoeberza KZ, “Hybrid Dual-Branch ResNet-101 with Canny Edge Detection for Arabica Coffee Bean Classification”, JIKA, vol. 13, no. 2, Nov. 2026, doi: 10.29244/jika.13.2.%p.

Article Details

How to Cite

[1]
T. A. Ramadhanti, Ernawati, and W. Oktoeberza KZ, “Hybrid Dual-Branch ResNet-101 with Canny Edge Detection for Arabica Coffee Bean Classification”, JIKA, vol. 13, no. 2, Nov. 2026, doi: 10.29244/jika.13.2.%p.

Comparison of AlexNet and ResNet Models in Flower Image Classification Utilizing Transfer Learning

Bana Falakhi, Elmira Faustina Achmal, Muhammad Rizaldi, Renata Rizki Rafi' Athallah, Novanto...
Abstract View : 1711
Download :2688