Using the Maximal Marginal Relevance (MMR) algorithm, this project ranks images by semantic content, drawing from textual annotations. It features an experimental comparison between Word2Vec and GloVe embeddings to optimize recommendation quality.
git clone https://github.com/hikariakio/Image-MMR-Recommendation.git-
Direct to PyBackend.
-
Create and go inside to the virtual environment (python 3.11.6)
-
Install the packages from requirements.txt
-
Download Precomputed Caches
Sim_Matrix_Glove.csv
https://drive.google.com/file/d/1ChvRpdPInB1SdZOp0nr6JUhew6zal7eW/view?usp=sharing
Sim_Matrix_Word2Vec.csv
https://drive.google.com/file/d/1N-3Nt4Tp2DhkfzFoe9ovRzYSYO0-jj2e/view?usp=sharing
-
Download GoogleNews-vectors-negative300
-
start app.py
-
Direct to NodeFrontend.
-
Install node modules
npm install- Start the client
npm startDownload dataset and create an http server at port 5001.
http://images.cocodataset.org/zips/val2017.zip
python -m http.server 5001
