Cocoa-Net: Performance Analysis on Classification of Cocoa Beans Using Structural Image Feature
Abstract
The process of cocoa hybridization produces new types that have unique chemical properties that impact the manufacturing of chocolate yet are resistant to a number of plant illnesses. Image analysis is a valuable tool for visually differentiating between cocoa beans, deep learning (DL) has become the standard way for image processing. Nevertheless, these techniques necessitate a substantial quantity of data and meticulous hyperparameter adjustment. In this paper, we compare machine learning and deep learning models because it takes a lot of images to cover the wide range of agricultural products. Specifically, we extract features from images using a series of image processing techniques, and then we use both traditional machine learning methods (KNN, Decision tree, SVM, and Random Forest) and Convolutional Neural Networks (proposed Cocoa-Net and RESNET 50) to classify the cocoa beans into four categories: large, medium, small, and rejected. Since each method offers strong classification performance and has potential for use in the classification of food, they were all chosen. To test these methods, a dataset including 200 samples of fragmented images was utilised. Studies that compare various approaches are also carried out. Two optimisation techniques: Univariate Selection and Feature Importance are used to optimise the retrieved features before the machine learning deep learning models are trained. The Adam optimizer is used to optimise the proposed Cocoa-Net model. K-fold cross validation is used to assess trained models, and mean cross validation scores are then computed for performance analysis. The empirical result show that, the proposed Cocoa-Net model predicts with the highest mean accuracy score of 0.83 overall, while the Random Forest Classifier score of 0.75.
Full Text:
PDFReferences
Essah R, Anand D, and Singh S. 2022 An intelligent cocoa quality testing framework based on deep learning techniques. Measurement: Sensors 24: 100466.
Hayati R, Zulfahrizal Z, and Munawar A A. 2021 Robust prediction performance of inner quality attributes in intact cocoa beans using near infrared spectroscopy and multivariate analysis. Heliyon 7 (2): 1-7.
Farooq M S, Riaz S, Abid A, Abid K, and Naeem M A. 2019 A survey on the role of IoT in agriculture for the implementation of smart farming. IEEE Access 7: 156237–156271,.
Yoon C, Huh M, Kang S G, Park J, and Lee C. 2018 Implement smart farm with IoT technology. in: 20th International Conference on Advanced Communication Technology (ICACT), pp. 749–752.
Abdulai I, Vaast P, Hoffmann M P. et al. 2018 Cocoa agroforestry is less resilient to sub-optimal and extreme climate than cocoa in full sun. Global Change Biol. 24 (1): 273–286.
de Oliveira D N, Camargo A C B, Melo C F O R. et al., 2018 A fast semiquantitative screening for cocoa content in chocolates using MALDI-MSI. Food Res. Int. 103: 8- 11.
Ghosh M, and Dey A. 2023 Fractional-weighted Entropy-based Fuzzy G-2DLDA Algorithm: A New Facial Feature Extraction method. Mutimedia Tools and Applications, 82 (2): 2689–2707.
Adhitya Y, Prakosa S W, Köppen M. et al. 2020 Feature Extraction for Cocoa Bean Digital Image Classification Prediction for Smart Farming Application. Agronomy, 10 (11): 1642.
Nazir F, Majeed M N, Ghazanfar M A. et al. 2019 Mispronunciation detection using deep convolutional neural network features and transfer learning—based model for Arabic phonemes. IEEE Access 7, 52589- 52608.
Mukhopadhyay M, Dey A, Ghosh A. et al. Facial emotion recognition based on Textural pattern and Histogram of Oriented Gradient. Proceeding of the ICACIS 2022, pp- 111-119, 2022.
Sing J K, Dey A, Ghosh M. 2019 Confidence Factor Weighted Gaussian function Induced Parallel Fuzzy Rank Level Fusion for Inference and its Application to Face Recognition. Information Fusion 47: 60- 71.
da Costa A Z, Figueroa H E, and Fracarolli J A. 2020 Computer vision based detection of external defects on tomatoes using deep learning. Biosyst Eng., 190: 131–144.
Bhargava A and Bansal A. 2020 Quality evaluation of mono & bi-colored apples with computer vision and multispectral imaging. Multimedia Tools and Applications, 79: 7857–7874,
Pereira L F S, Barbon S, Valous N A. et al. 2018 Predicting the ripening of papaya fruit with digital imaging and random forests. Comput Electron Agric 145: 76–82,.
Tian H, Wang T, Liu Y. et al. 2020 Computer vision technology in agricultural automation—a review. Inf Process Agric 7(1):1–19,.
Navulur S, Sastry A.S.C.S and Prasad M N G. 2017 Agricultural management through wireless sensors and Internet of Things. Int. J. Electr. Comput. Eng. 7: 3492–3499.
Srinivasa Raghavan N R. 2005 Data mining in e-commerce: A survey. Sadhana 30: 275–289.
Liakos K G, Busato P, Moshou D. et al., 2018 Machine Learning in Agriculture: A Review. Sensors, 18(8), 2674.
Aakash K P, Nandhini D, Amutha S. et al. 2023 Detection and identification of healthy and unhealthy sugarcane leaf using convolution neural network system. Sādhanā 48: 251.
Behera S K, Rath A K, Mahapatra A. et al. 2020 Identification, classification & grading of fruits using machine learning & computer intelligence: A review. J. Ambient Intell. Human. Comput., 11: 1- 11.
Gill H S and Khehra B S. 2021 Hybrid classifier model for fruit classification. Multimed Tools Appl 80: 27495–27530.
Ashiagbor G, Asare-Ansah O A, Boakye Amoah E. et al. 2023 Assessment of machine learning classifiers in mapping the cocoa-forest mosaic landscape of Ghana. Scientific African, 20, e01718.
Srikanth V, Rajesh G K, Kothakota A. et al. 2020 Modeling and optimization of developed cocoa beans extractor parameters using box behnken design and artificial neural network. Computers and Electronics in Agriculture, 177: 105715.
Turan E, Ucar F and Dandil B. A novel marble recognition system using extreme learning machine with LBP and histogram features. Concurrency and Computation: Practice and Experience, 33 (21): e6428, 2021.
Hossain M.S, Al-Hammadi M, and Muhammad G. 2018 Automatic Fruits Classification Using Deep Learning for Industrial Applications. IEEE Trans. Ind. Inform. 15: 1027–1034,.
Dhiman B, Kumar Y, and Kumar M. 2022 Fruit quality evaluation using machine learning techniques: review, motivation and future perspectives. Multimedia Tools and Applications, 81(12): 16255-16277.
Tan J, Balasubramanian B, Sukha D A. et al. 2019 Sensing fermentation degree of cocoa (Theobroma cacao L.) beans by machine learning classification models based electronic nose system. J. Food Process Eng. 42 (4): e13175.
Cruz-Tirado J, Fernandez Pierna J A, Rogez H. et al. 2020 Authentication of cocoa (theobroma cacao) bean hybrids by nir-hyperspectral imaging and chemometrics. Food Control 118, 107445.
Rajendran D and Vigneshwari S. 2021 Design of agricultural ontology based on levy flight distributed optimization and Naïve Bayes classifier. Sādhanā 46: 141.
Nagarathinam, S., Vasuki, A. and Paramasivam, K. 2023 PAN and MS satellite image fusion using fast guided filter and PSO segmentation. Sādhanā 48: 199.
Das S, Akuli A, Biswas S. et al. 2022 Discrimination of Cocoa Beans using Structural Image Features: An Experimental Analysis. IEEE IAS Global Conference on Emerging Technologies (GlobConET), pp. 1138-1142.
Tercan H and Meisen T. 2022 Machine learning and deep learning based predictive quality in manufacturing: a systematic review. J. Intell. Manuf. 33: 1879-1905.
Kim T H E, Kim H.R, Cho Y J. 2021 Product inspection methodology via deep learning: an overview. Sensors 21 (15): 5039.
Lopes J.F, da Costa V G T, Barbin F D. et al. 2022 Deep computer vision system for cocoa classification. Multimed. Tool. Appl. 81: 41059–41077.
Anggraini C D, Putranto A W, Iqbal Z. et al. 2021 Preliminary study on development of cocoa beans fermentation level measurement based on computer vision and artificial intelligence IOP Conference Series: earth and Environmental Science. IOP Publishing 924 (1): 012019.
Abu I O, Szantoi Z, Brink A. et al. 2021 Detecting cocoa plantations in Coted’Ivoire and Ghana and their implications on protected areas. Ecol. Indicat. 129: 107863.
Oliveira M M, Cerqueira B V, Barbon S. et al. 2021 Classification of fermented cocoa beans (cut test) using computer vision. J. Food Compos. Anal. 97: 103771.
Mukhopadhyay M, Dey A and Kahali S. 2023 A Deep-Learning-Based Facial Expression Recognition method Using Textural Features. Neural Computing and Applications, 35 (9): 6499–6514.
Ghosh M, Dey A and Kahali S. 2022 Type-2 fuzzy blended improved D-S evidence theory based decision fusion for face recognition. Appl. Soft Comput. 125: 109179.
Ghosh M, Dey A, Kahali S. 2023 A weighted fuzzy belief factor-based D-S evidence theory of sensor data fusion method and its application to face recognition. Mutimedia Tools and Applications.
Mukhopadhyay M, Dey A, Ghosh A. et al. 2022 Facial emotion recognition based on Textural pattern and Histogram of Oriented Gradient. in Proceeding of the ICACIS 2022, pp- 111-119.
Saha Mandal O, Dey A, Ghosh A, and Shaw R N. 2022 Fruit-Net: Fruits recognition system using Convolution Neural Network. Proceeding of the ICACIS 2022, pp- 120-133.
Gill H S, and Khehra B S. 2021 Hybrid classifier model for fruit classification. Multimedia Tools and Applications 80(1):1-36.
Ramanadham K L, Savarimuthu N. 2022 vCrop: an automated plant disease prediction using deep ensemble framework using real field images. Sādhanā 47: 268.
Dey A, Chowdhury S, and Ghosh M. 2017 Face Recognition using Ensemble Support Vector Machine. Proceeding of the ICRCICN 2017, pp. 46-50.
Dey A, and Chowdhury S. 2020 Probabilistic Weighted induced Multi-Class Support Vector Machines for Face Recognition. Informatica Si, 44 (4): 345- 353.
DOI: https://doi.org/10.31449/inf.v48i12.5762
This work is licensed under a Creative Commons Attribution 3.0 License.