Find input image (ID,passport) in imagesDB based on similarity
问题 I would like to decide if an image is present in a list stored in a DB (e.g. pictures of IDs, passport, Stu. card, etc). I thought about using a KNN algorithm, that will plot the K closest images. Options for distance metric: sum of Euclidean distance between each relative pixels (img1[pixel_i], img2[pixel_i]) sum of Euclidean distance betwen each pixel to each other, multiplied by some factor decreasing with distance (pixel to pixel) same as above, but with manhattan... Do you know/think of