1-pip install -r requirments.txt

2-put your pic files for search base on its to: '/static/img'
after that run  'python train.py' for extracting pic features

3- python server.py