Skip to content

A Rock Paper Scissors game that uses an image classifier trained via VGG-16 on a custom dataset to play against the player via his/her webcam.

License

Notifications You must be signed in to change notification settings

ya0002/Rock_Paper_Scissors_ML

Repository files navigation

Rock_Paper_Scissors_ML

A Rock Paper Scissors game that uses an image classifier trained via VGG-16 on custom dataset to play against the player via his/her webcam.

Made using

  • Python3
  • Tensorflow 2.0- for ML
  • OpenCV- for image/video manipulation/processing

Collecting data/images to train the model

After running image_collector.py press:-

r-to collect rock samples.

p-to collect paper samples.

s-to collect scissor samples.

d-to collect dummy/garbage samples.

q-to quit

ezgif com-gif-maker

Playing the Game

After running play.py :-

press r to reset the scores.

ezgif com-optimize

ENJOY!

About

A Rock Paper Scissors game that uses an image classifier trained via VGG-16 on a custom dataset to play against the player via his/her webcam.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages