/
/
/
Fungus Classification in Peanuts from Smart Lens Imagery Using Convolutional Neural Network

Fungus Classification in Peanuts From Smart Lens Imagery Using Convolutional Neural Network

Original Research ArticleOct 10, 2025Online First Articles https://doi.org/10.55003/cast.2025.265905

Abstract

Classification of fungi in peanuts remains a critical challenge due to the microscopic nature of fungi, which requires specialized inspection methods. Without proper classification tools, there is a risk for consumers who consume contaminated peanuts, which can lead to severe health effects, particularly for those with fungal allergies. Traditional methods using microscopes or visual inspection by experts are impractical due to the bulky size of instruments, high cost, time-consuming process, and the potential for human error. This research addresses these limitations by proposing an efficient method for fungi classification in peanuts using convolutional neural network (CNN) and image processing techniques. The system utilizes a portable smart lens, an imaging device with high magnification (up to 50x), to capture detailed peanut images and paired with three CNN architectures: MobileNetv2, DenseNet121, and NASNetMobile. The experimental results demonstrated optimal performance with specific parameters for different peanut types. For ground peanuts, the system achieved 97.13% accuracy using 500x500 pixel grayscale images. Similarly, for peanut seeds, the system maintained 96.09% accuracy with 500x500 pixel RGB color images. This approach offers a practical, portable, and cost-effective solution for reliable fungal classification in peanuts.

How to Cite

Dittakan, K. undefined. ., Thaenthong, J. ., Rodkuen, S. undefined. ., & Thungklang, P. . (2025). Fungus Classification in Peanuts from Smart Lens Imagery Using Convolutional Neural Network. CURRENT APPLIED SCIENCE AND TECHNOLOGY, e0265905. https://doi.org/10.55003/cast.2025.265905

References

  • Adedoja, A., Owolawi, P. A., & Mapayi, T. (2019). Deep learning based on NASNet for plant disease recognition using leave images. In 2019 international conference on advances in big data, computing and data communication systems (icABCD) (pp. 1-5). IEEE. https://doi.org/10.1109/ICABCD.2019.8851029
  • Aral, R. A., Keskin, Ş. R., Kaya, M., & Hacıömeroğlu, M. (2018). Classification of TrashNet dataset based on deep learning models. In 2018 IEEE international conference on big data (big data) (pp. 2058-2062). IEEE. https://doi.org/10.1109/BigData.2018.8622212
  • Chen, Z., He, Z., & Lu, Z.-M. (2024). DEA-Net: Single image dehazing based on detail-enhanced convolution and content-guided attention. IEEE Transactions on Image Processing, 33, 1002-1015. https://doi.org/10.1109/TIP.2024.3354108
  • Chulalongkorn University. (2020). CU smart lens: Affordable smartphone microscope with high quality. https://www.research.chula.ac.th/2020/07/cu-smart-lens/
  • Cornely, O. A., Hoenigl, M., Lass-Flörl, C., Chen, S. C.-A., Kontoyiannis, D. P., Morrissey, C. O., Thompson, G. R., III, & Mycoses Study Group Education and Research Consortium (MSG-ERC) and the European Confederation of Medical Mycology (ECMM). (2019). Defining breakthrough invasive fungal infection-position paper of the mycoses study group education and research consortium and the European Confederation of Medical Mycology. Mycoses, 62(9), 716-729. https://doi.org/10.1111/myc.12960

Author Information

Kwankamon Dittakan

College of Computing, Prince of Songkla University, 80 Moo 1, Vichitsongkram Road, Kathu, Phuket 83120, Thailand

Jirawat Thaenthong

College of Computing, Prince of Songkla University, 80 Moo 1, Vichitsongkram Road, Kathu, Phuket 83120, Thailand

Sulakkana Rodkuen

College of Computing, Prince of Songkla University, 80 Moo 1, Vichitsongkram Road, Kathu, Phuket 83120, Thailand

Phutphisit Thungklang

College of Computing, Prince of Songkla University, 80 Moo 1, Vichitsongkram Road, Kathu, Phuket 83120, Thailand

About this Article

Journal

Online First Articles

Type of Manuscript

Original Research Article

Keywords

fungus classification
image processing
convolutional neural network
deep learning
smart lens

Published

10 October 2025