Diagnosing Pneumonia from Chest X-Rays by Image-Based Deep Learning using Neural Networks