
The Raspberry Pi camera module is pointing towards my apartment door to monitor anyone that is entering and leaving, while the USB webcam is pointed towards the kitchen, observing any activity that may be going on: Figure 2: The Raspberry Pi camera module and USB camera are both hooked up to my Raspberry Pi, but are monitoring different areas of the room. 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.
#RASPBERRY PI PS3 EYE CODE#
Looking for the source code to this post? Jump Right To The Downloads Section Multiple cameras with the Raspberry Pi and OpenCV
