You must need Python 3 and OpenCV installed on your PC.
A step by step installation — follow these methods.
- Create and activate the virtual environment
python3 -m venv cv-rps
source cv-rps/bin/activate
- Install all the requirements
pip install -r requirements.txt
- Run the project
python rock-paper-scissor.py
Press q to quit the detection window.
In case you get any errors, try Stackoverflow.
Dataset used for training: Rock Paper Scissors – Roboflow
Model trained on Google Colab using YOLOv8n with T4 GPU. Training notebook available in
notebook/Rock-Paper-Scissor.ipynb.
