I looked at ml5.js as yet another option for online M.L., it uses Mobilenet as the classifier in its base example. Looking at this paper, one can see that it is the smallest model with reasonable accuracy.

However, looking at this post it’s clear that ml5.js is built on top of tensorflow.js meaning that I’d only be redoing one of my projects in another language.

I later found out about (ML for Artists, ml4a) and saw that it has a lot of number detection demos (1, 2, 3, 4, 5).