Abstract: A computer implemented method of processing an image, comprising: obtaining an input image; converting the input image into a binary image; processing the binary image using a first trained model that performs classification of image components as part of a character.