The Image to Text API from APILayer detects and extracts text from images using state-of-the-art optical character recognition (OCR) algorithms in combination with a neural network called LSTM. So we used data augmentation to put characters with distortion randomly to the images.