Recognition of chest diseases on X-ray images using convolutional neural networks