/mnist-ngclient

Emerging Technologies Project - An Angular Webapp for uploading and drawing digits in order to make predictions using a Python Flask server application: https://github.com/damiannolan/mnist-neural-network

Primary LanguageTypeScript

MNIST Digit Prediction Web Application

This repository contains a relatively simple web application written using Angular. This webapp serves as a client application for uploading and drawing digits and making prediction requests to a back end Python Flask application which can be found in another repository located HERE!

Getting Started

Before getting the client application up and running I advise heading over to the back end repository linked above and following the instructions in order to launch the server application.

  1. Download and install the Angular CLI Tool.
npm install -g @angular/cli
  1. Clone this repository.
git clone https://github.com/damiannolan/mnist-ngclient.git
  1. Install dependencies
npm install
  1. Run the application dev server and navigate to http://localhost:4200.
ng serve

Code Base

Components and Services were scaffolded using the Angular CLI Tool.

ng generate component component-name
ng generate service service-name

The application consists of a small number of simple componenets and includes one service.

  • App Component
  • Canvas Component
  • Home Compoenent
  • Nav Component
  • Prediction Service
  • Upload Component

Example

gif