Make sure you have set the FKMS Driver enabled and the TFT as the default display as described on the Display Setup page.
This page has been updated for running Bullseye with the new Picamera2 system. If you are running an older version such as Buster, you can use "raspistill -t 0" instead.

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. 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.

This guide was first published on Sep 04, 2019. It was last updated on Sep 04, 2019.

This page (Camera Test) was last updated on Oct 06, 2020.

Text editor powered by tinymce.