Now to do an initial test with the camera to make sure the hardware is working before diving into TensorFlow. This should display what the camera sees on the display.
libcamera-hello -t 0
Press Ctrl+C to exit the test.
Here's what it looks like on the BrainCraft HAT:
And on the PiTFT, it should look something like this:
If you don't see anything on your camera or get an error message, be sure you have the camera interface enabled in raspi-config. Also, be sure the camera cable is not inserted backwards. If it is still having issues, you will need to get that working before continuing. Unfortunately troubleshooting a camera setup can be complex and is beyond the scope of this guide.
Text editor powered by tinymce.