A computer-human Rock Paper Scissor game
To capture the data, use the following code:
python main.py --run data_cap --gesture <rock|paper|scissor>
To train the gesture prediction model, use the following code:
python main.py --run train [--model_name <name_of_model>] [--epochs <number_of_epochs>]
Using --k_fold
will run k-fold cross validation on the model.
python main.py --run train [--model_name <name_of_model>] --k_fold <number_of_folds> [--epochs <number_of_epochs>]
To play the game, use the following code:
python main.py [--run game] [--model_name <name_of_model>]