A TensorFlow-based bot to play roshambo with.
To use it live go to paulpidou.github.io/RockPaperScissorsBot. As the model is quite heavy it will take a moment to load.
The model used to perform the image classification has been trained with TensorFlow and convert to run within the browser thanks to TensorFlow.js. To have more information, you can check this Kaggle kernel.
If you want to use the bot locally, follow these steps:
- Download this repository
- Add the Web Server for Chrome extension to Google Chrome
- Launch it and choose the directory where you downloaded the repository as the choosen folder
- Modify the
URL
variable in thejs/custom.js
file to point to the URL of the Web Server e.g. http://127.0.0.1:8887 - Go to the address of the Web Server in your browser