An AI to play the Rock Paper Scissors game
- Python 3
- Keras
- Tensorflow
- OpenCV
- Clone the repo.
$ cd rock-paper-scissors
2. Install the dependencies
```sh
$ pip install -r requirements.txt
- Gather Images for each gesture (rock, paper and scissors and None):
$ python3 gather_images.py rock 200
$ python gather_images.py paper 200 $python gather_images.py scissors 200 $python gather_images.py none 200 (*one of the most important steps where no hand gesture is shown) 4. 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