Tag Archives: AI

Using Contours in OpenCV to Track an Object of Interest

 

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 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.

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.

 

Launch a Windows WEB Camera in Ten Lines of Code with OpenCV

In this lesson we show you step-by-step how to launch a WEB camera using OpenCV running on windows. In the video we show how to install OpenCV and how to write your first simple programs. Below is the code we developed in the video to launch the WEB cam.