Category Archives: Python

Using Contours in OpenCV to Track an Object of Interest

YouTube video player 

In this lesson we showed how to track on object in openCV based on color, create contours for the object of interests, and then track the object of interest by drawing a bounding box around it. For your convenience, the code is included below.

 

Tracking Two Colors in OpenCV


In this video lesson we show  how you can track two different colored objects at the same time in OpenCV. It is the homework solution to the homework we assigned in the last lesson. It will also serve as the starting code for future lessons

 

Tracking an Object Based on Color in OpenCV

In this lesson I describe how to track an object in OpenCV based on color. We use the HSV color space to make it simpler to train the model. Below, for your convenience, we include the code we develop in this lesson.

Putting Text, Rectangles and Circles on Images in OpenCV for Windows


In the video lesson above we show how to add text, rectangles and circles to video frames using OpenCV. Below we include the code with we developed in this lesson. Enjoy!

 

Faster Launch of WEBcam and Smoother Video in OpenCV on Windows


This is the code we developed in Video Lesson #6 showing how to launch a webcam quicker and with less delay in OpenCV running on windows. The video above explains the code step by step, but for your convenience, I include the code below.