Category: Uncategorized

Convex Hull using OpenCV in Python and C++

In this post, we will learn how to find the Convex Hull of a shape (a group of points). We will briefly explain the algorithm and then follow up with C++ and Python code implementation using OpenCV. What is a Convex Hull? Let us break the term down into its two parts — Convex and […]

SVM using Scikit-Learn in Python

This post explains the implementation of Support Vector Machines (SVMs) using Scikit-Learn library in Python. We had discussed the math-less details of SVMs in the earlier post. In this post, we will show the working of SVMs for three different type of datasets: Linearly Separable data with no noise Linearly Separable data with added noise […]

GOTURN : Deep Learning based Object Tracking

In this post, we will learn about a Deep Learning based object tracking algorithm called GOTURN. The original implementation of GOTURN is in Caffe, but it has been ported to the OpenCV Tracking API and we will use this API to demonstrate GOTURN in C++ and Python. What is Object Tracking ? The goal of […]

Find the Center of a Blob (Centroid) using OpenCV (C++/Python)

In middle-school, we learned about various shapes in geometry. It was relatively easy to find the centers of standard shapes like the circle, square, triangle ellipse, etc. But when it came to finding the centroid of an arbitrary shape, the methods were not straightforward. Some nerdy friends said it would require calculus. Other practical friends […]

Support Vector Machines (SVM)

Ideas in Machine Learning have a “winner takes all” quality. When an idea takes off, it dominates the field so completely that one tends to believe it is the only idea worth pursuing. Today, Deep Learning is cool. A few years back learning algorithms like Random Forests and Support Vector Machines (SVMs) were just as […]

Batch Normalization in Deep Networks

In this post, we will learn what is Batch Normalization, why it is needed, how it works, and how to implement it using Keras. Batch Normalization was first introduced by two researchers at Google, Sergey Ioffe and┬áChristian Szegedy in their paper ‘Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shift‘ in 2015.┬áThe authors […]

Average Faces of FIFA World Cup 2018

Football has been one of the most followed sports in the past decades. With an average attendance of 53k in a single match for the past years, let’s get into this FIFA fever as well! Imagine your favorite team having a single face which includes features from all the faces of the team! Will Neymar […]