Giter VIP home page Giter VIP logo

semantic-image-search's Introduction

semantic-image-search

Information retrieval project that is used to retrieve images by describing in words

Step1:

Install python3

Run following commands Linux:

			sudo add-apt-repository ppa:jonathonf/python-3.6
			sudo apt-get update
			sudo apt-get install python3.6
			sudo apt install python3-pip

In order to install python on Windows follow this link and Mac OS follow this link

Step2:

Download Word2vec model

You can download latest word2vec model or you can follow link to download these pretrained embeddings.

Extract that model file in backend/data folder

Step3:

Install mongoDB
For linux run the following commands in order
	sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 68818C72E52529D4
    sudo echo "deb http://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-4.0.list
    sudo apt-get update
    sudo apt-get install -y mongodb-org
    sudo systemctl start mongod
    sudo systemctl enable mongod

or you can install mongoDB on windows by following this link and for mac follow this link

Step 4:

Install python Packages

sudo python3 -m pip install -r requirements.txt

Step 5:

Download and migrate database

python3 migrate_dataset.py

Step 6:

Start the backend server

cd backend
python3 main.py

Step 7:

run ui

** go to ui folder in repo and open html file in browser**

semantic-image-search's People

Contributors

hamzakpt avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.