CBD: Coffee Beans Dataset
- PMID: 40201542
- PMCID: PMC11978365
- DOI: 10.1016/j.dib.2025.111434
CBD: Coffee Beans Dataset
Abstract
The development of advanced coffee bean classification techniques depends on the availability of high quality datasets. Coffee bean quality is influenced by various factors, including bean size, shape, colour, and defects such as fungal damage, full black, full sour, broken beans, and insect damage. Constructing an accurate and reliable ground truth dataset for coffee bean classification is a challenging and labour intensive process. To address this need, we introduce the Coffee Beans Dataset (CBD) which contains 450 high-resolution images sampled across 9 distinct coffee bean grades A, AA, AAA, AB, C, PB-I, PB-II, BITS and BULK with 50 images per class. These samples were sourced from Wayanad, Kerala, reflecting the region's diverse coffee bean quality .This dataset is specifically designed to support machine learning and deep learning models for coffee bean classification and grading. By providing a comprehensive and diverse dataset, we aim to address key challenges in coffee quality assessment and improvement in classification accuracy. When tested using the EfficientNet-B0 model, the model achieved a high accuracy of 100%, demonstrating its potential to enhance automated coffee bean grading systems. The CBD serves as a valuable resource for researchers and industry professionals, promot-ing innovation in coffee quality monitoring and classification algorithms.
Keywords: Brightness; Coffee bean; Contrast; Grayscale.
© 2025 The Author(s).
Figures





Similar articles
-
Comparative analysis of YOLO models for green coffee bean detection and defect classification.Sci Rep. 2024 Nov 22;14(1):28946. doi: 10.1038/s41598-024-78598-7. Sci Rep. 2024. PMID: 39578522 Free PMC article.
-
Swin-HSSAM: A green coffee bean grading method by Swin transformer.PLoS One. 2025 May 14;20(5):e0322198. doi: 10.1371/journal.pone.0322198. eCollection 2025. PLoS One. 2025. PMID: 40367122 Free PMC article.
-
Analysis and classification of coffee beans using single coffee bean mass spectrometry with machine learning strategy.Food Chem. 2023 Nov 15;426:136610. doi: 10.1016/j.foodchem.2023.136610. Epub 2023 Jun 12. Food Chem. 2023. PMID: 37331144
-
Coffee berry and green bean chemistry - Opportunities for improving cup quality and crop circularity.Food Res Int. 2022 Jan;151:110825. doi: 10.1016/j.foodres.2021.110825. Epub 2021 Nov 26. Food Res Int. 2022. PMID: 34980376 Review.
-
Coffee bean processing: Emerging methods and their effects on chemical, biological and sensory properties.Food Chem. 2023 Jun 30;412:135489. doi: 10.1016/j.foodchem.2023.135489. Epub 2023 Jan 16. Food Chem. 2023. PMID: 36716620 Review.
References
-
- Jayakumari B.N.B., Mambilamthoda A.N.K., Stephen S.A., Venkitesan P., Raghavendra V. Coffee bean graded based on deep net models. Int. J. Electr. Comput. Eng. 2024;14(3):3084–3093. doi: 10.11591/ijece.v14i3. 2088-8708. - DOI
LinkOut - more resources
Full Text Sources