My scenario is as follows: I have to save 1000 of images in database, and then I have to compare new image with database images for matches (match should be 70% or more) to
Try this class. It support get hash string from image to store in database and compare with new image later: https://github.com/nvthaovn/CompareImage
It is very fast and accurate, although not optimal code. I have 20000 pictures in my database.