Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

paveldat/rock_paper_scissor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rock Paper Scissor

In this project, I will learn how to create a Rock Paper Scissor game using Computer Vision. I will use hand tracking to find the move of the player and generate a random move for the AI.

How to install

  1. Clone this repository on your computer https://github.com/paveldat/rock_paper_scissor.git
  2. Install all the requirements run libraries.bat or pip install -r requirements.txt
  3. Run the program python main.py

Help

You might face issue with webcam not showing and you get errors. To solve it just change the value in this line (for example to 1). cap = cv2.VideoCapture(0) Increment this number until you see your webcam.

How to play

Press s to start the game

Result

Alt Text

Releases

No releases published

Packages

No packages published
Morty Proxy This is a proxified and sanitized view of the page, visit original site.