Ordering coordinates clockwise with Python and OpenCV

Today we are going to kick-off a three part series on calculating the size of objects in images along with measuring the distances between them. These tutorials have been some of the most heavily requested lessons on the PyImageSearch blog. I’m super excited to get them underway — and I’m sure you are too. However, before we start learning how to […]

Continue Reading 16

PyImageSearch Gurus member spotlight: Tuomo Hiippala

In today’s blog post, I interview PyImageSearch Gurus member, Tuomo Hiippala, who was recently awarded a 28000€ grant (approximately $30,500 USD) to research how computer vision can be used to study visual culture, including social media images and photo archives. We’ll discuss his very unique area of research, which blends linguistics with computer vision, and how his work is […]

Continue Reading 4

Transparent overlays with OpenCV

One of my favorite aspects of running the PyImageSearch blog is sharing little bitesize OpenCV tips and tricks that I’ve learned after nearly 7 years of using the OpenCV library. Today’s tip comes from my bag of experiences: constructing transparent overlays with OpenCV. In order to construct a transparent overlay, you need two images: Your original image. An […]

Continue Reading 8

Saving key event video clips with OpenCV

Last week’s blog post taught us how to write videos to file using OpenCV and Python. This is a great skill to have, but it also raises the question: How do I write video clips containing interesting events to file rather than the entire video? In this case, the overall goal is to construct a video synopsis, distilling […]

Continue Reading 9

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 14