Tag Archives | video processing

Writing to video with OpenCV

Let me just start this blog post by saying that writing to video with OpenCV can be a huge pain in the ass. My intention with this tutorial is to help you get started writing videos to file with OpenCV 3, provide (and explain) some boilerplate code, and detail how I got video writing to work on […]

Continue Reading 39

Multiple cameras with the Raspberry Pi and OpenCV

I’ll keep the introduction to today’s post short, since I think the title of this post and GIF animation above speak for themselves. Inside this post, I’ll demonstrate how to attach multiple cameras to your Raspberry Pi…and access all of them using a single Python script. Regardless if your setup includes: Multiple USB webcams. Or the Raspberry […]

Continue Reading 92

Unifying picamera and cv2.VideoCapture into a single class with OpenCV

Over the past two weeks on the PyImageSearch blog, we have discussed how to use threading to increase our FPS processing rate on both built-in/USB webcams, along with the Raspberry Pi camera module. By utilizing threading, we learned that we can substantially reduce the affects of I/O latency, leaving the main thread to run without being blocked as […]

Continue Reading 47