Skip to content

A search engine which searches similar clothes on the basis of earth movers distance metric.

Notifications You must be signed in to change notification settings

nilayjain/similar-cloth-search

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

install following libraries: matplotlib, numpy, PIL, opencv, scikit-learn.
download haar-cascades for face recognition

Link to papers: https://www.cs.cmu.edu/~efros/courses/LBMV07/Papers/rubner-jcviu-00.pdf

http://vis.uky.edu/~cheung/courses/ee639_fall04/readings/ccv.pdf 

to make index execute:

	python index.py --index file-name.csv --dataset dresses/

Here file-name.csv is name of index file created and dresses is the directory where images are.

Making index may take upto 90 minutes for 2000 images.

to perform the search execute:

	python search.py --index file-name.csv --query image.jpg --result-path dresses/

here image.jpg is query image result-path is directory where images are and file-name.csv is the index file we created previously.

colordescriptor class helps to extract features and index in dataset.
searcher class helps in performing search.
index.py makes index
search.py performs search and retrieves results.

code is documented.

Thanks.

About

A search engine which searches similar clothes on the basis of earth movers distance metric.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages