Image Processing and Traditional Machine Learning Based Classification of Brown Marmorated Stink Bug (Halyomorpha Halys) Defected Hazelnut

dc.contributor.authorGadalla, Omsalma Alsadig Adam
dc.contributor.authorÖztekin, Yeşim Benal
dc.date.accessioned2024-10-29T17:52:55Z
dc.date.available2024-10-29T17:52:55Z
dc.date.issued2023
dc.departmentTekirdağ Namık Kemal Üniversitesi
dc.description.abstractQuality control of hazelnuts is a major concern in many regions across the world, but particularly in Turkey as the world's largest hazelnut producer. Using image processing and deep learning techniques, this study intended to detect and classify healthy hazelnuts and hazelnuts infected with the Brown Marmorated Stink Bug. Infected hazelnut samples were collected from the 2021 production period by experts. A Guppy Pro CCD camera-based image acquisition system was used to capture hazelnut images. A total of 400 RGB hazelnut images were captured to train machine learning models. Image segmentation process was carried out to subtract hazelnut images from the background using the Thresholding technique. Moment features were extracted from RGB and l*a*b* spaces to be used to train traditional machine learning models. Furthermore, the most relevant and discriminative feature set was selected using the Boruta feature selection method. Traditional machine learning models including Random Forest, Support Vector Machine, Logistic Regression, Naive Bayes, and Decision Tree were trained twice, once with all features and another with the selected feature set only. The overall accuracy, statistical characteristics of the confusion matrix, and model training time were all calculated to evaluate and compare models performances. As a result, threshold value of 50 was determined from the gray level histogram and was able to separate hazelnut image from the background perfectly. Only seven moment features were identified as the most discriminative features out of 24 features. The SVM model with all feature vectors had the greatest classification accuracy of 98.75 %. When only the selected features were employed, the performance of Random Forest and Logistic Regression models improved to 97.5 and 96.25 %, respectively.
dc.identifier.doi10.33462/jotaf.1165105
dc.identifier.endpage798
dc.identifier.issn1302-7050
dc.identifier.issn2146-5894
dc.identifier.issue4en_US
dc.identifier.startpage784
dc.identifier.trdizinid1223746
dc.identifier.urihttps://doi.org/10.33462/jotaf.1165105
dc.identifier.urihttps://search.trdizin.gov.tr/tr/yayin/detay/1223746
dc.identifier.urihttps://hdl.handle.net/20.500.11776/13240
dc.identifier.volume20
dc.indekslendigikaynakTR-Dizin
dc.language.isoen
dc.relation.ispartofTekirdağ Ziraat Fakültesi Dergisi
dc.relation.publicationcategoryMakale - Ulusal Hakemli Dergi - Kurum Öğretim Elemanıen_US
dc.rightsinfo:eu-repo/semantics/openAccess
dc.subjectHazelnut
dc.subjectFeature selection
dc.subjectBoruta
dc.subjectFeature extraction
dc.subjectSupport vector machine
dc.titleImage Processing and Traditional Machine Learning Based Classification of Brown Marmorated Stink Bug (Halyomorpha Halys) Defected Hazelnut
dc.typeArticle

Dosyalar