Open CodeByHarri opened 5 months ago
Have you tried the documentation pages?
https://erdogant.github.io/undouble/pages/html/Examples.html#get-identical-images
my understanding is that model produces a matrix of results against all images in a directory. however, what if i dont care about all the images. i just have 1 image i care about and time is of concern. is there a way to use undouble to look for the most similar images from a given image. without checking every other image in the directory against each other?
sorry if I've misunderstood the code.
How would you know which of all images is most similar to the input image without checking the distance to every other image?
My understanding is that undouble creates a matrix of all the images in the given directory. in the above example its [21460x21460], what if i dont want to spend the time and resources computing this marix and instead just want the results for 1 image [1x21460]
Can a minimal reproducible example be provided where undouble is used where:
input: a folder path of images, path of image we care about output: a table / pandas dataframe with the name of all the images in the folder path where ranked by most similar to least similar.