A simple flask app using Resnet34 network for distinguish between an image of the former slovak prime minister R. Fico and the slovak president A. Kiska hosted on Heroku running Green Unicorn WSGI server.
I have scrapped photos of R.Fico and A.Kiska and trained pretrained Resnet34 using these images. The training trained using Fastai library. The app and it's dependencies were optimized to fit into Heroku Free Dyno.
Deployment is done using Travis-CI automaticaly into Heroku and Docker hub.
Visit the page
For running locally run:
docker run -p 5000:5000 quarkus7/fico-vs-kiska python app.py
and in your browser open:
http://localhost:5000/
Dependencies are listed in Dockerfile and requirements.txt
Peter Pagac