The document presents a method for diagnosing pneumonia from chest X-rays using a convolutional neural network (CNN) based on the VGG19 model, employing techniques such as transfer learning and data augmentation to address class imbalance. The study achieves a recall of 0.96 and precision of 0.87, emphasizing the effectiveness of machine learning in medical image diagnostics as an alternative due to the shortage of qualified radiologists. The methodology includes data pre-processing, modeling, and the use of a cloud-based platform for efficient processing of images.