I'm trying to let an user drawing a canvas with this code http://jsfiddle.net/m1erickson/qwd2a/. After draw, a java service will save it as png. So, if the same user will login again he will use the own "shape" as second security phase (i.e: fill the login form and draw your personal shape to perform login).
I want to create a simple service, like "compare 2 images and set a threshold to decide if the images are same or not".
Thanks