- #1
Jamin2112
- 986
- 12
I'm going to try and be of aid to spammers and hackers by making a program that solves these:
Can't be too hard. Here's a procedure I'm going to implement:
Given an m x n array of pixels known to contain a letter among a bunch of noise, convert the pixels to their RGB values, give the array a binary mask, then calculate the correlation coefficient between it and each of the m x n binary arrays that would represent images of upper and lower case letters. The one that yields the greatest correlation coefficient will be assumed to be the letter.
Make sense?
Can't be too hard. Here's a procedure I'm going to implement:
Given an m x n array of pixels known to contain a letter among a bunch of noise, convert the pixels to their RGB values, give the array a binary mask, then calculate the correlation coefficient between it and each of the m x n binary arrays that would represent images of upper and lower case letters. The one that yields the greatest correlation coefficient will be assumed to be the letter.
Make sense?