/deployed_math_symbols_classification_flask

Deploying a Keras CNN model with Flask and Docker

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

Getting Started

This repository containts the deployed version of This model using Flask. It can detect and classify math symbols aswell as greek letters and alphabets ...

Basic Usage

Draw a symbol on the drawing zone and click 'Predict' to get the result, you can also perform basic math operations like addition , subtraction ... by Drawing for example : '2' then '+' then '1' , and when you draw '=' you automatically get the result.

How does it work

Interface

Operations

Running Locally

$ git clone https://github.com/Otman404/deployed_math_symbols_classification_flask
$ cd app
$ pip install -r requirements.txt
$ export FLASK_APP=app.py
$ flask run --host=0.0.0.0

Your app should now be running on localhost:5000.

Docker Installation

Build and run an image for keras-application pretrained model

$ cd app
$ docker build -t keras_flask_app .
$ docker run -d -p 5000:5000 keras_flask_app