← Papers

Unverified paper record

A Hybrid Compact Convolutional Transformer with Bilateral Filtering for Coffee Berry Disease Classification.

Sensors (Basel, Switzerland) · 24 Jun 2025 · 10.3390/s25133926

Abstract

Coffee berry disease (CBD), caused by Colletotrichum kahawae, significantly threatens global Coffee arabica production, leading to major yield losses. Traditional detection methods are often subjective and inefficient, particularly in resource-limited settings. While deep learning has advanced plant disease detection, most existing research targets leaf diseases, with limited focus on berry-specific infections like CBD. This study proposes a lightweight and accurate solution using a Compact Convolutional Transformer (CCT) for classifying healthy and CBD-affected coffee berries. The CCT model combines parallel convolutional branches for hierarchical feature extraction with a transformer encoder to capture long-range dependencies, enabling high performance on limited data. A dataset of 1737 coffee berry images was enhanced using bilateral filtering and color segmentation. The CCT model, integrated with a Multilayer Perceptron (MLP) classifier and optimized through early stopping and regularization, achieved a validation accuracy of 97.70% and a sensitivity of 100% for CBD detection. Additionally, CCT-extracted features performed well with traditional classifiers, including Support Vector Machine (SVM) (82.47% accuracy; AUC 0.91) and Decision Tree (82.76% accuracy; AUC 0.86). Compared to pretrained models, the proposed system delivered superior accuracy (97.5%) with only 0.408 million parameters and faster training (2.3 s/epoch), highlighting its potential for real-time, low-resource deployment in sustainable coffee production systems.

Plant phenotyping relevance

コーヒー果実の画像から病徴を分類する深層学習手法の開発・検証が研究の中心であり、植物の病害状態を直接推定している。

abstractThis study proposes a lightweight and accurate solution using a Compact Convolutional Transformer (CCT) for classifying healthy and CBD-affected coffee berries.

Code and data availability

The paper describes a 1737-image coffee berry dataset from the University of Gondar and a CCT-based classification pipeline, but no block contains a public dataset deposit, author code release, model checkpoint, or supplement with such assets. No availability statement or authors' public URL for data/code appears in a

No evidence-backed public reproduction asset is currently recorded.

This is an automatically classified, unverified record. Curator approval is required before any resource enters the Catalog.