Now that your model is trained and tested we can integrate it with a game of Rock, Paper, Scissors! The game demonstrates how to use the predicted label from the model to trigger events.

First, navigate to the Lobe Adafruit Kit folder:

cd ~
cd lobe-adafruit-kit

Run the Python program with the following command:


Play the Game!

Click the BrainCraft button. This starts a countdown -- make your hand gesture and the Pi will take a photo at the end of the countdown.

The screen displays the Pi's choice and then displays a winner!

This guide was first published on Mar 31, 2021. It was last updated on 2021-03-30 15:36:50 -0400.

This page (Play Rock, Paper, Scissors) was last updated on Jul 02, 2022.

Text editor powered by tinymce.