This custom Raspberry Pi project lets you play rock, paper, scissors versus AI
Table of Contents
If you’re looking for another Raspberry Pi 5 project, here’s a simple one based around one of the most universally known games: rock, paper, scissors (or whatever you may call it where you’re from). Combining a camera, display, the Pi, and some coding, user Citrus has created an AI-driven rock-paper-scissors game on the small computer.
Previously, such projects would require powerful graphics cards to run – just look at the massive GPUs AI machines utilize these days. However, thanks to the AI module onboard, it’s actually possible to do this all onboard a Raspberry Pi.
In the project description, the creators discuss how this was created and made possible. They claim the experiment results have been excellent, with the gesture classification accuracy and recall consistently above 95%. Since they showcase the library of images they use, it’s a good mix of hands, shapes, and skin tones to make it as broadly working as possible.
Deals season is here folks, and with it comes huge savings on some of the market's most popular hardware. Below, we be listing today's best PC hardware deals, including GPUs, CPUs, motherboards, gaming PCs, and more.
- ASUS TUF NVIDIA RTX 5080 Was $1599 Now $1349
- ASUS TUF RTX 5070 Ti Was $999 Now $849
- ASUS TUF ROG Strix XG27ACS Was $349 Now $329
- TCL 43S250R Roku TV 2023 Was $279 Now $199
- Thermaltake LCGS Gaming PC Was $1,799 Now $1,599
- Samsung Odyssey G9 (G95C) Was $1,299 Now $1,000
- Alienware AW3423DWF Was $699 Now $549
- Samsung 77-inch OLED S95F Was $4,297 Now $3,497
- ASUS ROG Strix G16 Was $1,499 Now $1,350
*Prices and savings subject to change. Click through to get the current prices.
We developed a highly optimised AI model using BrainBuilder software, which was trained using a dataset of real captured images and synthetic augmented data generated through advanced 3D modelling techniques.
Citrus on Hackster.io
What you need for this project, and why you might make it
The rock, paper, scissors game is just meant to be a showcase of what the device can do. Gesture recognition can go beyond the game to something like even translating sign language or other projects you might want to create. With the creators saying they will work on expanding the data set and optimizing the neural network, it will look to expand its applications and commercial uses.
Below is a list of components and tools you need to complete the project. With only a couple of items ot buy, and code available to download, the sticking point might be the 3D printer requirement. Well, unless you send the STL file to a printer to do it for you, I’m sure there are other workarounds to position the camera in the right place for now.
- Raspberry Pi 5
- Raspberry Pi Touch Display
- Raspberry Pi AI Camera
- Raspberry Pi Raspbian
- Sony Brain Builder
- 3D printer