The Image-Classification-React-App was a simple project with the intuition of developing experience where web applications and Machine Learning meet. A simple UI done in React allows the user to uplod an image, which, when uploaded to the underlying flask app, runs a prediction on a trained residual neural network (ResNet).
To start, clone the present repository into your local machine. If you're unaware of how to achieve this, you can familiarise yourself with the mechanisms of GitHub repositories in the provided link.
git clone [email protected]:thyriki/Image-Classification-React-App.git
Ensure that you have Node 10.4.1, yarn and React installed and properly set up.
Start by opening a terminal, and navigate to the project's folder.
To initialise the React app on port 3000:
cd ui/
npm install -g serve
npm run build
serve -s build -l 3000
To initialise the Flask web app:
cd service/
virtualenv -p Python3 .
source bin/activate
pip install -r requirements.txt
FLASK_APP=app.py flask run
This repo was developed while using this amazing framework as its foundation!
- Ricardo Soares - rmssoares
- Biagio Antonelli - BiagioAntonelli
For any inquiries, feel free to open up an issue.