#tensorflow
#image-classification
#binary-classification
Use the package manager pip to install requirements.
python3 -m venv test-env #create new environment (optional)
source test-env/bin/activate #activate environment (optional)
pip3 install -r requirements.txt
# put your image into : app-data/model/
# edit : app-data/config/config.ini
export CONFIG_PATH=app-data/config/config.ini
gunicorn --bind 0.0.0.0:5000 wsgi:app
#url
python3 test.py -s url -p https://www.traveller.com.au/content/dam/images/h/1/q/k/x/8/image.related.articleLeadwide.620x349.h1qkx3.png/1599540163360.jpg
#file
python3 test.py -s file -p test_image.png
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.