In terminal, connect to your Pi using SSH and create a directory named model
via the following commands:
cd ~ mkdir model
Open an FTP connection and transfer the model.tflite
and signature.json
files exported from Lobe into the model
directory on the Pi.
cd ~ cd lobe-adafruit-kit python3 lobe-package-detector.py
Next, go look at your Pi! The BrainCraft screen should now show you what the camera is seeing along with a prediction label.
Try putting a package (or an empty box) in the camera field-of-view and see if the Pi detects the package.
If the model does not recognize the package, add more training images to your model.
Page last edited March 08, 2024
Text editor powered by tinymce.