Transfer the model to the Pi
Connect your Pi to a power source.
Open command prompt on a PC or terminal on Mac/Linux. Connect to your Pi using SSH.
The command will look like the following, replacing the numbers after the @ sign with the IP address of your Pi:
Create a new folder in the home directory and name it model
by using the following commands:
cd ~ mkdir model
Open the FTP connection and use it to copy saved_model.tflite
and signature.json
from your exported Lobe model into the model
directory on the Pi.
Follow the same procedure for FileZilla.
Use the commands below to download and run the basic Lobe classifier on your Pi:
cd ~ cd lobe-adafruit-kit python3 lobe-basic-prediction.py
Make sure that all the Rock, Paper, Scissors hand gestures are working as expected. It's best to keep the camera background consistent with the images you used for training.
Page last edited March 08, 2024
Text editor powered by tinymce.