Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Arminkhayati/visual_search_engine

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Visual Search Engine

A visual search engine powered by YOLO v3 and fastapi. In this project, a text-based description is received from users and the images that match that description are retrieved and displayed in the order of priority. That is what we do with Google to find the images we want but in more simple manner in our case.

Code uses tensorflow 2.x and the base model is taken from this repository.

Installation

First, clone or download this GitHub repository:

git clone https://github.com/Arminkhayati/visual_search_engine.git
cd visual_search_engine

then prepare the environment:

pip install -r ./requirements.txt

or

conda env create -f environment.yml

Then download weights and place them in this directory vse/model/model_data:

# yolov3
wget https://pjreddie.com/media/files/yolov3.weights

# yolov3-tiny
wget https://pjreddie.com/media/files/yolov3-tiny.weights

Running code

To run the server just activate your environment then run this command:

For testing:

uvicorn main:app --reload

For mannually running server:

uvicorn main:app --host 0.0.0.0 --port 80

Releases

Packages

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.