Multiplayer Rock Paper Scissors Game using Computer Vision and WebRTC.
- Visit rps-21b02a.gitlab.io to play
- Click
Share& Share the copiedURLwith your friends - The other Player must visit the
URLyou Shared and clickJoin - You can start Playing by showing rock-paper-scissors on the Camera.
- Python Version: 3.9
- mediapipe-model-maker
pip install mediapipe-model-maker- rock paper scissors dataset
wget https://storage.googleapis.com/mediapipe-tasks/gesture_recognizer/rps_data_sample.zip
unzip rps_data_sample.zip- Train the model locally
python train.py- Copy the trained model to the
public/directory
cp exported_model/gesture_recognizer.task public/- Test the model on the browser
yarn && yarn devOpen http://localhost:5173.
