JOURNAL ARTICLE

Mushroom Image Classification and Recognition Based on Improved Swin Transformer

Abstract

Classification of mushrooms are essential for preventing even life-threatening consequences of accidentally eating wild mushrooms. In this study, a dataset including 114 varieties of mushrooms is collected and built. Next, the Swin Transformer model with robust classification characteristics is improved to classif mushroom images. Also, the classification accuracy of the improved Swin Transformer with different parameters was compared. In addition, ResNet50 is compared with the improved Swin Transformer under the optimal parameters. The model's training speed is further enhanced by integrating the improved Swin Transformer with ResNet50, thereby proposing the Swin_ResNet classification algorithm. Experimental results show that the classification accuracy of the optimal improved Swin Transformer algorithm is 87.66%, which is 14.86% and 7.64% higher than the ResNet50 and Swin Transformer models, respectively. In addition, the classification accuracy of Swin_ResNet is 85.31%, and the training time is 86.57% shorter than that of the improved Swin Transformer. This greatly improves the training efficiency.

Keywords:
Transformer Artificial intelligence Computer science Pattern recognition (psychology) Engineering Electrical engineering Voltage

Metrics

2
Cited By
0.42
FWCI (Field Weighted Citation Impact)
14
Refs
0.54
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Citation History

Topics

Spectroscopy and Chemometric Analyses
Physical Sciences →  Chemistry →  Analytical Chemistry
Smart Agriculture and AI
Life Sciences →  Agricultural and Biological Sciences →  Plant Science
Bee Products Chemical Analysis
Life Sciences →  Agricultural and Biological Sciences →  Insect Science

Related Documents

JOURNAL ARTICLE

Image Recognition in Autonomous Driving Based on Improved Swin Transformer

Yequan BieHao Tan

Journal:   2022 IEEE International Conference on Artificial Intelligence and Computer Applications (ICAICA) Year: 2022 Vol: 30 Pages: 124-129
JOURNAL ARTICLE

Improved deep learning image classification algorithm based on Swin Transformer V2

Jiangshu WeiJinrong ChenYuchao WangHao LuoWujie Li

Journal:   PeerJ Computer Science Year: 2023 Vol: 9 Pages: e1665-e1665
© 2026 ScienceGate Book Chapters — All rights reserved.