This repo contains all the components for the Rock-paper-scissors.
pip install -r requirements.txt
brew install redis
-
Start Redis:
redis-server
-
Start gesture-classification
Either using a pre-trained color-dependent model
cd classification python classification.py -type vgg
or using a color-independent model using open-cv preprocessing
cd classification-color-independent python recognize.py
-
Start flask-server
cd classification python flask_server.py
-
Start AI server
cd ai python ai_server_0.py
-
Start UI
cd front-end python -m http.server
-
Open
localhost:8000
in a browser (Chrome).