Comparing images from my computer with images from a website

So, I have 10 images in my computer representing numbers (0-9) and I have a certain website that contains a simple captcha with the same image pattern that this one I have in my computer. How could I do to compare these images?

The images share the same dimensions and each one image has their own permanently link in the website.

1 answer