- Python 3
- Anaconda installed with default env(root) https://www.anaconda.com/download
- flask-sqlalchemy
- others: nltk, sklearn, numpy ... (packages used in lab 2 image retrieval)
Install flask if it is not already installed
# type inside terminal
conda install -c anaconda flask
Install flask-sqlalchemy for simple database
conda install -c conda-forge flask-sqlalchemy
Install face_recognition library
conda install boost
pip install face_recognition
How to regenerate test data
- open database.db using a sqlite tool
- copy everything inside seedAll.sql
- paste under 'query'
# type inside terminal
export FLASK_APP=app.py
flask run
# and then open browser at http://127.0.0.1:5000/, make sure that port is not being used
- session secret key not set -> solution = clear browser cache and try again