Category Archives: OpenCV

AI for Everyone LESSON 16: Face Recognition with OpenCV

Guys in this lesson we learn how to not only detect faces in an image, but also recognize who the person is. We start by training our model with known faces, and then find and identify those faces in other pictures. For your convenience, I include the code developed in this lesson below.

 

AI for Everyone LESSON 15: Face Detection using OpenCV

In this video lesson we show a simple method to detect faces in a WEB cam frame using openCV and Haar Cascades. We use pretrained models to find, box and track faces in a frame. Enjoy!

 

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

 

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!