Skip to content

asjadanis/tfjs-digit-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tensorflow JS - Digit Recognition

A client side demo application for single-digit recognition using tensorflow-js in the browser in a React app.

Note: The model was trained in python using tensorflow-2 and mnist digit data. The model was converted for tf-js using tensorflow-converter.

To see how the model was trained refer to mnist-digit-recog

This project was bootstrapped with react-redux-boilerplate.

Blog Post

DEMO

Alt Text

To Run locally and experiment

  • git clone https://github.com/asjadanis/tfjs-digit-demo.git
  • create a .env file in project root-directory
  • add REACT_APP_MODEL_URL=https://storage.googleapis.com/mnist-digit/1/mnist-tf-js/model.json
  • yarn install
  • yarn start