Build content-based image retrieval system using deep learning, applied some large scale similarity search technicals like Kdtree, LSH, Faiss.
Usage: python app/app.py [--large] [--feature] [--pca]
Run demo app.
Options:
--large=['kdtree', 'lsh', 'faiss'] Large scale method
--feature=[PATH] Features indexing file path
--pca=[INT] Enable pca
Usage: python setup/export_feature.py [-path]
Export feature indexing file to path.
Options:
-path=[PATH] Path to save features file
Usage: python setup/evaluation.py [--large] [--feature] [--pca] [--top]
Run system evaluation.
Options:
--large=['kdtree', 'lsh', 'faiss'] Large scale method
--feature=[PATH] Features indexing file path
--pca=[INT] Enable pca
--top=[INT][REQUIRED] Number of ranked lists element
- Upload ImageRetrieval.ipynb to your Colab
- Run all cells and go to address like xyz.ngrok.io to use
Pull lastest image from docker hub and run
docker pull lehuutrung1412/image-retrieval
docker run -d -p 5000:5000 lehuutrung1412/image-retrieval
- Clone sourcecode
git clone https://github.com/lehuutrung1412/ImageRetrieval.git
- Build docker image and run.
docker build -t image-retrieval .
docker run -d -p 5000:5000 image-retrieval