See this link: https://www.smashingmagazine.com/2019/09/machine-learning-front-end-developers-tensorflowjs/