Through the public dataset of chest X-rays on kaggle (https://www.kaggle.com/datasets/paultimothymooney/chest-xray-pneumonia)
Pre-trained model ResNet50 is used for transfer learning to achieve the purpose of using chest X-ray images to detect pneumonia.