Automated Diagnosis of Pneumonia through Capsule Network in conjunction with ResNet50v2 model | Synapse