Optical Character Recognition (cont.)
- Problems with the Very Naive Algorithm:
- The number of different pixels will be determined, in
large part, by the number of black pixels
- The image containing the character to recognize is likely
to be translated
- Improving the Naive Algorithm:
- For each black pixel in the character to recognize, find the
closest black pixel in the candidate character
- Calculate the sum of the pixel-by-pixel distances and
call it the distance between the character to recognize and
the candidate
- Find the candidate that is closest (in total) to the character to
recognize