Starting the Raspberry Pi Camera, or a WEB Camera on the Jetson Nano

For those of you playing along at home as we learn Artificial Intelligence on the Jetson Nano, the code below is what we do to launch a camera using OpenCV. We include code that will launch either the Raspberry Pi Camera, or a WEB cam like the Logitech 920.  Check out our Youtube Jetson Nano Channel to follow along the full tutorial. The Jetson Nano tutorial Play List can be found HERE:

The code below is the starting point for most of the lessons: