Classification of coffee bean images
2025
0 views
0 downloads
Advisor: Dr. Öğr. Üyesi Deniz Karaçor
Abstract (EN)
The variation in green coffee beans collected from coffee trees significantly impacts coffee trade, as it affects flavor consistency and quality standards. Traditional sorting and classification processes are typically performed manually, making them time-consuming, costly, and prone to errors. Therefore, utilizing image processing, machine learning, and deep learning techniques enables the automatic classification of coffee beans, accelerating processes and enhancing accuracy. Machine learning techniques help optimize quality control by analyzing physical characteristics such as size, color, and density. In this thesis, the USK-Coffee dataset, consisting of 8,000 samples from four different green coffee bean types, was used. Feature extraction was performed using MobileNetV2, ResNet18, VGG16, and DenseNet201 models, followed by classification with machine learning algorithms such as K-Nearest Neighbors (KNN), Naive Bayes, Decision Tree, and Support Vector Machine (SVM). To analyze classification performance variations, additional feature extraction and dimensionality reduction techniques such as Principal Component Analysis (PCA) and Histogram of Oriented Gradients (HoG) were applied, and the results were compared. Among all implementations, the highest accuracy rate of 91.99% was achieved using the DenseNet201 model combined with PCA-extracted features applied to the SVM algorithm.
Author
Can Ünal
Institution

Başkent University
Elektrik Elektronik Mühendisliği Bilim Dalı
How to Cite
Can Ünal (Master Thesis). Classification of coffee bean images, 2025, Başkent University.
Keywords
License
Tüm Hakları Saklıdır
This work is shared under the specified license terms.
More theses from Başkent University
- Classification of aircraft images(2025)
- A nietzschean reading of cormac Mccarthy's Blood Meridian Or the Evening Redness in the west and The Road(2021)
- An analysis of the alignment of English textbooks in Turkish primary schools with the 21st century skills(2025)
- The gastronomic heritage of tradesmen's restaurants: The case of Ankara(2025)
- The impact of vocational education on the skilled labor shortage: A study on the construction sector in Ankara province(2025)
- The effects of bankruptcy on litigation and follow-up processes(2019)