Source code for my article "Playing Mortal Kombat with TensorFlow.js. Transfer learning and data augmentation".
You can find the post here and MK.js here.
To try the demo run the following commands:
npm i && npm i -g serve
npm start
cd model && serve -s .
Keep in mind that the model is trained with a small dataset. If it doesn't perform well for you, feel free to follow the instructions from the blog post and improve its accuracy.
MIT