Skip to content

Saudi Coffee Beans Classification (Type and roasting) based on squeeze vision transformer

License

Notifications You must be signed in to change notification settings

Haifafh/Saudi-Coffee-Classification

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 

Repository files navigation

Picture1

Saudi-Coffee-Classification

Saudi Coffee Beans Classification (Type and roasting) based on squeeze vision transformer.

This repository contains the dataset alongside the codes written and implemented for the paper:

“Classification of Saudi Coffee Types and Roasting Levels Using Squeeze Vision Transformer, Haifa F. Alhasson and Shuaa S. Alharbi 2024’’

Dataset Distribution

We formed the data collected into three datasets based on the purpose needed to be classified as follows:

1- Saudi Coffee Types Dataset (SCTD): This dataset's primary goal is to differentiate between several Saudi coffee genotypes, which are related to Arabic coffee genotypes and differ in size and morphology. Five classes of Saudi coffee genotype beans (Harari, Khawlani, Nabari, Laqamti, and Wild (Briah)) are included in this dataset. In order to assess and manage the quality of the traded coffee beans, this dataset may be used to categorize beans according to variations in the shape characteristics of the genotypes of the beans.

2- Saudi Coffee Roasting Dataset (SCRD): This dataset's primary goal is to differentiate between various roast levels of Saudi coffee using samples taken from the country's coffee market. As we discover, there are three primary roasting levels in addition to the bean's raw form. The color of the beans makes them distinctive. Four classes of Saudi coffee genotype beans (Raw, Degree 1, Degree 2, and Degree 3) are included in this dataset.

3- Saudi Coffee Types and Roasting Dataset (SCTRD): Two classes from the two intercross datasets were joined in this dataset to create 20 classes.

This Table provides information on the quantity of photos in each category: Screen Shot 2024-06-21 at 3 58 49 PM

An example of several types and roastings of Saudi coffee images:

Screen Shot 2024-06-21 at 4 11 17 PM

Download dataset:

Original (without crop) click here: https://drive.google.com/file/d/1Bo3DzVeFUaYzjUBHM-6IA4u8TeaKDa3H/view?usp=sharing

SCTD click here: https://drive.google.com/file/d/1I29CIBTl77BNZqeNEMskxuLDoaJSFpne/view?usp=sharing

SCRD click here: https://drive.google.com/file/d/1HTyk-zRavcISvZVQLGhAWlOTDarKKGKT/view?usp=drive_link

SCTRD click here: https://drive.google.com/file/d/1SFbBcjtcuqgHbQjeL2O_ULXbChz7LwXc/view?usp=drive_link


This research was funded by the “Saudi coffee grants” program offered by the Saudi Ministry of Culture. All opinions expressed herein belong to the researchers and do not necessarily reflect those of the Ministry of Culture.

If you find this code useful in your research and development, please reference this repository and the paper.

This repositoty is under a GNU General Public License v2.0 (see included "LICENSE" file).

For any inquiry, please contact us via email: [email protected]

About

Saudi Coffee Beans Classification (Type and roasting) based on squeeze vision transformer

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published