Skip to main content
added 341 characters in body
Source Link
user7657
user7657

A simple count of the pixels where the binary color is matching between the image to be recognized and the images of the ten reference digits might be good enough.

For best results, it is advisable to create the reference images using exactly the same method as that for the target image.

If it turns out that binarization doesn't work repeatably enough, you can switch to finer comparison metrics such as Sum of Absolute Differences, Sum of Squared Differences or Normalized Grayscale Correlation.

A simple count of the pixels where the binary color is matching between the image to be recognized and the images of the ten reference digits might be good enough.

A simple count of the pixels where the binary color is matching between the image to be recognized and the images of the ten reference digits might be good enough.

For best results, it is advisable to create the reference images using exactly the same method as that for the target image.

If it turns out that binarization doesn't work repeatably enough, you can switch to finer comparison metrics such as Sum of Absolute Differences, Sum of Squared Differences or Normalized Grayscale Correlation.

Source Link
user7657
user7657

A simple count of the pixels where the binary color is matching between the image to be recognized and the images of the ten reference digits might be good enough.