Affiliation:
1. College of Science Northeast Forestry University Harbin People's Republic of China
Abstract
AbstractCOVID‐19 has been ravaging the world for a long time, and although its effects are currently the same as those of a cold or a fever, timely diagnosis of COVID‐19 in the elderly and in patients with related illnesses is still a matter of great urgency. To address this challenge, we propose a model that combines the strengths of the Swin Transformer and ResNet34 architectures to efficiently diagnose COVID‐19 in elderly and vulnerable patients. In this paper, we design a model that integrates Swin transformer and resnet34, which not only integrates the advantages of transformer and CNN but also achieves excellent performance in this image classification problem. Moreover, a pre‐processing method is also proposed to increase the accuracy of the model to 99.08%. In this paper, experiments were conducted on Kaggle's publicly available three‐classification and four‐classification datasets, respectively, and on the three main evaluation metrics of Accuracy, Precision, and Recall, the first dataset obtained 98.81%, 99.49%, and 97.99%, while the second dataset obtained 88.82%, 88.92%, and 86.38%. These findings highlight the validity and potential of our proposed model for diagnosing the presence or absence of COVID‐19 in elderly and vulnerable patients.