Now to do an initial test with the camera to make sure the hardware is working before we dive into TensorFlow. This should display what the camera sees on the display.

raspistill -t 0

Here's what it looks like on the BrainCraft HAT:

Here's what it looks like on the PiTFT:

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 22, 2021.

Text editor powered by tinymce.