Python image knn similarity search
This repository implements KNN image similarity search This workflow is split into two parts
-
Hash Generation
Since the dimensionality of image is huge, thus we need to hash it to samller dimension
-
KNN search
After we got hash of image, I use KNN for find K similar images
Generally as bellow, however some modification is required for configuring INPUT/OUTPUT directory.
-
Hash Generation
python main.py
-
KNN search
python query.py