Digit recognition using Tensorflow.js
The CNN used training the model uses MNIST dataset and the trained model is saved in the local machine using tf.saveModel(). This file is then loaded during realtime prediction using tf.loadLayersModel() which is a tensorflow.js function.
Canvas is used to draw the handwritten digit which is to be predicted.
For more information regarding training the model refer:- Training CNN