Skip to content

rmssoares/Image-Classification-React-App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Image-Classification-React-App

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).

Getting Started

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

Prerequisites

Ensure that you have Node 10.4.1, yarn and React installed and properly set up.

Instructions

Start by opening a terminal, and navigate to the project's folder.

React App

To initialise the React app on port 3000:

cd ui/
npm install -g serve
npm run build
serve -s build -l 3000

Flask Web App

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

Framework

This repo was developed while using this amazing framework as its foundation!

Authors

For any inquiries, feel free to open up an issue.

About

A simple image classification React + Flask app.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published