-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME
More file actions
29 lines (17 loc) · 970 Bytes
/
Copy pathREADME
File metadata and controls
29 lines (17 loc) · 970 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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.