I am working on letter recognition program. I have a text and divide it into letters, every single letter is written to separate file.
Now I want to apply a clustering algorithm to these images to divide letters into classes. Ideally each cluster would correspond to single letter (this is not possible, because some letter patterns like "ri" or "ff" are classified as one letter by my text-dividing algorithm, but I'll address that later). The images contain some noise, as the text is scanned and also not every letter is at the center of the image: some are slightly shifted.
I am quite new to machine learning. Could you advise me on the choice of clustering algorithm? Which would give the best results in this case?
PS.: I am using python for this project, so any algorithms that have implementation in python (even partial) are of particular interest to me.