An AI to play the Rock Paper Scissors game
- Python 3
- Keras
- Tensorflow
- OpenCV
- Clone the repo.
$ git clone https://github.com/SouravJohar/rock-paper-scissors.git
$ cd rock-paper-scissors
- Install the dependencies
$ pip install -r requirements.txt
- Gather Images for each gesture (rock, paper and scissors and None): In this example, we gather 200 images for the "rock" gesture
$ python3 gather_images.py rock 200
- Train the model
$ python3 train.py
- Test the model on some images
$ python3 test.py <path_to_test_image>
- Play the game with your computer!
$ python3 play.py