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