A micro web project using the flask web framework for python.
You upload an image and get a list of 10 guesses about what the picture contains.
We are using the pretrained Resnet50 for classification.
Project includes both the server and client components.
To run the client you don't need to require any installation. Just open the index.html file in your browser.
The server is a flask app that uses a tensorflow model to make predictions.
To install the server, you need to install the requirements in a virtual environment.
It is suggested that you create a virtual environment using the python venv module.
python3 -m venv venvThen activate the virtual environment
source venv/bin/activateThen install the requirements from the 'requirements.txt' file.
pip install -r requirements.txtTo start the server, navigate to the server directory and use the flask run command.
cd server
flask runThe server will start on port 5000 by default. Ensure that no other process is using that port.