Affiliation:
1. Khartoum University
2. ONDOKUZ MAYIS ÜNİVERSİTESİ
Abstract
Quality 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.
Publisher
Tekirdag Ziraat Fakultesi Dergisi
Subject
Pollution,General Agricultural and Biological Sciences
Reference29 articles.
1. Akshay, S. and Hegde, A. (2021). Detection and classification of areca nut diseases. 2021 Second International Conference on Electronics and Sustainable Communication Systems (ICESC). 1-3 September, P.1-5. Kottayam, India.
2. Ali, I. (2018). Hazelnut cultivation in Turkey. Academic Journal of Agriculture, 6(1): 1-13.
3. Anonymous. (2019). Fındıkta ‘kahverengi- yeşil kokarca’ tehdidi. https://www.sozcu.com.tr/2019/ekonomi/findikta-kahverengi-yesil-kokarca-tehdidi-4007632/(Accessed date: December 2021).
4. Aydinoglu, A. C. (2010). Examining environmental condition on the growth areas of Turkish hazelnut (Corylus colurna L.). African Journal of Biotechnology, 9(39): 6492-6502.
5. Baitu, G. P., Gadalla O. A. A. and Oztekin, Y. B. (2023). Traditional machine learning-based classification of cashew kernels using colour features. Journal of Tekirdağ Agricultural Faculty, 20(1): 115-124.