
Here we can see my Raspberry Pi 2, along with the Raspberry Pi camera module (sitting on top of the Pi 2) and my Logitech C920 webcam. You can see an example of my setup below: Figure 1: My multiple camera Raspberry Pi setup. We can access this camera using either the cv2.VideoCapture function built-in to OpenCV or the VideoStream class from this lesson. A Logitech C920 webcam that is plug-and-play compatible with the Raspberry Pi.

We can interface with the camera using the picamera Python package or (preferably) the threaded VideoStream class defined in a previous blog post.

Or use one Raspberry Pi camera module and at least one USB web camera.When building a Raspberry Pi setup to leverage multiple cameras, you have two options:

Looking for the source code to this post? Jump Right To The Downloads Section Multiple cameras with the Raspberry Pi and OpenCV
