reiinakano / tfjs-rock-paper-scissors

Play Rock Paper Scissors with your webcam using TensorFlow.js

Home Page:https://reiinakano.github.io/tfjs-rock-paper-scissors/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This repository contains a demo written with TensorFlow.js that lets users play Rock Paper Scissors with their browser. It is based heavily on the code for Google's Teachable Machine.

You can run it immediately in your browser by going to https://reiinakano.github.io/tfjs-rock-paper-scissors/.

To run it locally, you must install Yarn and run the following command to get all the dependencies.

yarn prep

Then, you can run

yarn start

You can then browse to localhost:9966 to view the application.

This demo was written for the book Deep Learning in the Browser. You can check out the book's main repository here.

About

Play Rock Paper Scissors with your webcam using TensorFlow.js

https://reiinakano.github.io/tfjs-rock-paper-scissors/

License:MIT License


Languages

Language:JavaScript 64.1%Language:HTML 35.9%