I have a black-and-white shape form, like the ones presented below, and wish to compare it and find the closest match in a database of similar images. I looked into Perceptual Hashing but that doesn't seem to work for low-resolution and mono-coloured images.
(1) (2)
What other methods are applicable in order to make such comparisons?