Santos, Fernando Ferreira Lima dosRosas, Jorge Tadeu FimMartins, Rodrigo NogueiraAraújo, Guilherme de MouraViana, Lucas de ArrudaGonçalves, Juliano de Paula2021-09-152021-09-152020SANTOS, F. F. L. et al. Quality assessment of coffee beans through computer vision and machine learning algorithms. Coffee Science, Lavras, v. 15, p. 1-9, 2020.1984-3909Doi: https://doi.org/10.25186/.v15i.1752http://www.sbicafe.ufv.br/handle/123456789/12800The increasing market interest in coffee beverage, lead coffee growers around the world to adopt more efficient methods to select the best-quality coffee beans. Currently, coffee beans selection is carried out either manually, which is a costly and unreliable process, or using electronic sorting machines, which are often inefficient because some coffee beans defects, such as sour and immature beans, have similar spectral response patterns. In this sense, the present work aimed to analyze the importance of shape and color features for different machine learning techniques, such as Support Vector Machine (SVM), Deep Neural Network (DNN) and Random Forest (RF), to assess coffee beans’ defects. For this purpose, an algorithm written in Python language was used to extract shape and color features from coffee beans images. The dataset obtained was then used as input to the machine learning algorithms, developed using Python and R programing languages. The data reported in this study pointed to the importance of color descriptors for classifying coffee beans defects. Among the variables used, the components Gmean from RGB (Red, Green and Blue) color space and Vmean from HSV (Hue, Saturation and Value) color space were some of the most relevant features for the classification models. The results reported in this study indicate that all the classifier models presented similar performance. In addition, computer vision along with machine learning algorithms can be used to classify coffee beans with a very high accuracy (> 88%).pdfenOpen AccessDeep neural networkClassificationArtificial intelligenceImage processingGranulometryCafeicultura::Qualidade de bebidaQuality assessment of coffee beans through computer vision and machine learning algorithmsArtigo