Lightweight Depthwise Pooling Transformer for Enhanced Coffee Bean Recognition
As global trade networks rapidly expand, coffee production and consumption have increased globally, profoundly influencing modern lifestyles. However, the coffee production process still demands substantial labor, especially in the selection and processing of coffee beans. The high implementation costs have impeded its widespread adoption. Therefore, we developed a defect detection and roasting level recognition method using a lightweight vision transformer (ViT) based on the deep learning (DL) method to extract features from coffee bean images. The developed method effectively reduces the overall cost of the coffee production process, showing a recognition accuracy of 98.49% for the Coffee Cobra database and 99.68% for the Roasting Coffee Bean database. The number of the model parameters was only 0.13 M, making it appropriate to deploy to low-cost embedded platforms.
Authors
- Liang-Ying Ke (ORCID: https://orcid.org/0009-0006-7341-7837)
- Chih‐Hsien Hsia (ORCID: https://orcid.org/0000-0003-2665-0821)
- Pei-Yu Lin (ORCID: https://orcid.org/0000-0001-8809-1063)
Institutions
- Fu Jen Catholic University (TW)
- Chaoyang University of Technology (TW)
- National Ilan University (TW)
- National Cheng Kung University (TW)
Publication Details
- Published
- 2025-05-14
- DOI
- https://doi.org/10.3390/engproc2025092069
- Primary Topic
- Smart Agriculture and AI
- Type
- article
- Field-Weighted Citation Impact
- 0.00