Client-side handwritten digit recognizer
First I trained a CNN through keras with the MNIST dataset. This just used the keras repo's defaults. This could still be improved but is good enough for now.
Then I saved the model and used
tensorflowjs_converterto convert src: https://js.tensorflow.org/tutorials/import-keras.html
In index.html you'll find code that tensorflow.js uses to import the model, convert an image into a tensor, then predict the class!