Digitization of handwritten latin codices using deep convolutional neural networks