Submitted:
13 August 2024
Posted:
13 August 2024
You are already at the latest version
Abstract
Keywords:
Introduction
2. Related Works
- In the preprocessing phase, techniques are chosen based on image quality evaluation metrics value to assess the impact of preprocessing techniques.
- The GAN-based Augmentation technique was developed to increase dataset size and diversity for model performance and generalization.
- The deep ensemble classification model was developed utilizing VGG16 and InceptionV3, incorporating classical and deep-based features through concatenation.
- We collected 6050 images that served as defect grading for future research.
3. Methodology
3.1. Preprocessing
3.1.1. Histogram Equalization
3.1.2. Resizing

3.1.3. Noise Reduction
3.1.4. Segmentation
Detection
GAN-Based Augmentation

| Class Name | Images in each class after augmentation | Number of Augmented Images | File type |
|---|---|---|---|
| Healthy | 1560 | 94 | Jpg, |
| Virus defect | 1560 | 541 | Jpg |
| Fungal defect | 1560 | 3 | Jpg |
| physical damage | 1560 | 558 | Jpg |
| Pest defect | 1560 | 554 | Jpg |
| Total image | 7800 | ||
Feature Extraction

| Classical feature | Deep-based Feature used | Base models from concatenation feature | Accuracy of a base model | Accuracy of the ensemble model |
| HOG feature | VGG16 feature | VGG16 | 94% | 95.44% |
| InceptionV3 feature | Inception V3 | 93.2% | ||
| GLCM feature | VGG16 feature | VGG16 model | 94.51% | 95.2% |
| InceptionV3 feature | Inception V3 model | 91.31% | ||
| Not used | VGG16-feature | VGG16 model | 93.56% | 93.86% |
| Inception V3 feature | Inception V3 model | 90.32 |
Ensemble Strategy
4. Experimental Result
| Augmentation | Base models | Base model accuracy | Ensemble model accuracy |
|---|---|---|---|
| GAN based | VGG16 model | 94.51% | 96.25% |
| Inception V3 model | 91.31% | ||
| Classical | VGG16 model | 93.56% | 94.2% |
| Inception V3 model | 90.32 | ||
| No augmentation | VGG16 model | 89% | 87% |
| Inception V3 model | 83% |

5. Error Analysis
6. Conclusions
Funding
Data Availability Statement
Acknowledgments
Conflict of Interest
References
- Al-sahaf, H., Bi, Y., Chen, Q., Lensen, A., Mei, Y., Sun, Y., Xue, B., & Zhang, M. (2019). A survey on evolutionary machine learning. Journal of the Royal Society of New Zealand, 49(2), 205–228. [CrossRef]
- Asibuo, J., Akromah, R., Adu-Dapaah, H., & Safo-Kantanka, O. (2008). Evaluation of nutritional quality of groundnut (Arachis Hypogaea L.) from Ghana. African Journal of Food, Agriculture, Nutrition and Development, 8(2), 133–150. [CrossRef]
- Bajia, R., Singh, S. K., Bairwa, B., & Padwal, K. G. (2017). MAJOR INSECT PESTS OF GROUNDNUT ( Arachis hypogaea L.),. August. [CrossRef]
- District, S. A. (1935). THE INHERITANCE OF CHARACTERS IN THE. 1(8).
- Dong, X., & Yu, Z. (2020). A survey on ensemble learning. 14(2), 241–258.
- Frid-Adar, M., Diamant, I., Klang, E., Amitai, M., Goldberger, J., & Greenspan, H. (2018). GAN-based synthetic medical image augmentation for increased CNN performance in liver lesion classification. Neurocomputing, 321, 321–331. [CrossRef]
- Ganaie, M. A., Hu, M., Malik, A. K., Tanveer, M., & Suganthan, P. N. (2022). Ensemble deep learning: A review. Engineering Applications of Artificial Intelligence, 115. [CrossRef]
- Gordo, A., Almazán, J., Revaud, J., & Larlus, D. (2017). End-to-End Learning of Deep Visual Representations for Image Retrieval. International Journal of Computer Vision, 124(2), 237–254. [CrossRef]
- Guchi, E. (2015). Aflatoxin Contamination in Groundnut (Arachis hypogaea L.) Caused by Aspergillus Species in Ethiopia. Journal of Applied & Environmental Microbiology, 3(1), 11–19.
- Horé, A., & Ziou, D. (2010). Image quality metrics: PSNR vs. SSIM. Proceedings - International Conference on Pattern Recognition, 2366–2369. [CrossRef]
- Hu, B., Li, L., Wu, J., & Qian, J. (2020). Subjective and objective quality assessment for image restoration: A critical survey. Signal Processing: Image Communication, 85(June), 1–50. [CrossRef]
- Huang, S., Fan, X., Sun, L., Shen, Y., & Suo, X. (2019). Research on Classification Method of Maize Seed Defect Based on Machine Vision. 2019(1).
- enber, A., Olalekan, A., Ashagrie, M., & Bitew, M. (2022). Informatics in Medicine Unlocked Development of a chickpea disease detection and classification model using deep learning. Informatics in Medicine Unlocked, 31(May), 100970. [CrossRef]
- Kunaver, M., & Tasič, J. F. (2005). Image feature extraction - An overview. EUROCON 2005 - The International Conference on Computer as a Tool, I, 183–186. [CrossRef]
- Kundu, N., & Rani, G. (n.d.). Seeds Classification and Quality Testing Using Deep Learning and YOLO v5.
- Li, Z., Gong, B., & Yang, T. (2016). Improved dropout for shallow and deep learning. Advances in Neural Information Processing Systems, Nips, 2531–2539.
- Liu, Z., Jiang, J., Li, M., Yuan, D., Nie, C., Sun, Y., & Zheng, P. (2022). Identification of Moldy Peanuts under Different Varieties and Moisture Content Using Hyperspectral Imaging and Data Augmentation Technologies. Foods, 11(8). [CrossRef]
- Livieris, I. E., Iliadis, L., & Pintelas, P. (2021). On ensemble techniques of weight-constrained neural networks. Evolving Systems, 12(1), 155–167. [CrossRef]
- Manhando, E., Zhou, Y., & Wang, F. (2021). Early Detection of Mold-Contaminated Peanuts Using Machine Learning and Deep Features Based on Optical Coherence Tomography. AgriEngineering, 3(3), 703–715. [CrossRef]
- Mohanaiah, P., Sathyanarayana, P., & Gurukumar, L. (2013). Image Texture Feature Extraction Using GLCM Approach. International Journal of Scientific & Research Publication, 3(5), 1–5.
- Motwani, M., Motwani, R., & Harris, F. (2004). Survey of image denoising techniques Survey of Image Denoising Techniques. January.
- Padilla, R., Netto, S. L., & Silva, E. A. B. (2020). A Survey on Performance Metrics for Object-Detection Algorithms. July. [CrossRef]
- Qi, H., Liang, Y., Ding, Q., & Zou, J. (2021). Automatic Identification of Peanut-Leaf Diseases Based on S tack Ensemble.
- Rajendran, S., Dorothy, R., Joany, R. M., Rathish, R. J., Santhana Prabha, S., & Rajendran, S. (2015). Image enhancement by Histogram equalization Image enhancement by Histogram equalization Image enhancement by Histogram equalization. Int. J. Nano. Corr. Sci. Engg, 2(4), 21–30.
- Rokibul, K., & Nazmul, A. (2020). A dynamic ensemble learning algorithm for neural networks. Neural Computing and Applications, 32(12), 8675–8690. [CrossRef]
- Sarvamangala, C., Gowda, M. V. C., And, & Varshney, R. K. (2011). This is the author's version of the postprint archived in the official repository of ICRISAT Identification of quantitative trait loci for protein content, oil content, and oil quality for groundnut ( Arachis hypogaea L.). 122(1), 49–59.
- Schwenker, F. (2013). Ensemble Methods: Foundations and Algorithms [Book Review]. IEEE Computational Intelligence Magazine, 8(February), 77–79. [CrossRef]
- Shasidhar, Y., Vishwakarma, M. K., Pandey, M. K., Janila, P., Variath, M. T., Manohar, S. S., Nigam, S. N., Guo, B., & Varshney, R. K. (2017). Molecular mapping of oil content and fatty acids using dense genetic maps in groundnut (Arachis hypogaea L.). Frontiers in Plant Science, 8(May), 1–14. [CrossRef]
- State, O., & State, O. (2007). Fruit Morphological Characterization among Some Varieties of. 1(2), 155–160.
- Szczypinski, P. M., Klepaczko, A., & Kociolek, M. (2017). Barley defects identification. International Symposium on Image and Signal Processing and Analysis, ISPA, September, 216–219. [CrossRef]
- Veni, N., & Manjula, J. (2022). High-performance visual geometric group deep learning architectures for MRI brain tumor classification. Journal of Supercomputing, 78(10), 12753–12764. [CrossRef]
- Wang, Y., Ding, Z., Song, J., Ge, Z., Deng, Z., Liu, Z., Wang, J., Bian, L., & Yang, C. (2023). Peanut Defect Identification Based on Multispectral Image and Deep Learning. Agronomy, 13(4). [CrossRef]
- Wang, Z., Bovik, A. C., Sheikh, H. R., & Simoncelli, E. P. (2004). Image quality assessment: From error visibility to structural similarity. IEEE Transactions on Image Processing, 13(4), 600–612. [CrossRef]
- Wyatt, M., Radford, B., Callow, N., Bennamoun, M., & Hickey, S. (2022). Using ensemble methods to improve the robustness of deep learning for image classification in marine environments. 2022(February), 1317–1328. [CrossRef]
- Yang, H., Ni, J., Gao, J., Han, Z., & Luan, T. (2021). A novel method for peanut variety identification and classification by Improved VGG16. Scientific Reports, 11(1), 1–17. [CrossRef]
- Yang, Y., Lv, H., & Chen, N. (2022). A Survey on ensemble learning under the era of deep learning.
- Yogamangalam, R., & Karthikeyan, B. (2013). Segmentation techniques comparison in image processing. International Journal of Engineering and Technology, 5(1), 307–313.
- Ziyaee, P., Ahmadi, V. F., Bazyar, P., & Cavallo, E. (2021). Comparison of different image processing methods for segregation of peanut (Arachis hypogaea L.) seeds infected by aflatoxin-producing fungi. Agronomy, 11(5). [CrossRef]
- Zou, Z., Chen, J., Wang, L., Wu, W., Yu, T., Wang, Y., Zhao, Y., Huang, P., Liu, B., Zhou, M., Lin, P., & Xu, L. (2022). Nondestructive detection of peanuts mildew based on hyperspectral image technology and machine learning algorithm. Food Science and Technology (Brazil), 42, 1–11. [CrossRef]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2024 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).