I have a series of images that are all the same size and are all of a sign written in black, they're all rather simple (+, -, x, /, 1-9) on a one color background, the background color changes it sometimes is green sometimes blue, sometimes red but always a uniform color.
I am trying to convert those images to a black and white image where the sign is black and the background is always white.
I am doing so to be able to compare the images to find sign duplicates.
So how to do the greyscale conversion using PIL.
And is there a better way to do the comparaison?
thanks