Predictive Hacks

## Face Detection in OpenCV

We will discuss about how we can apply Face Detection using OpenCV. We go straightforward with a practical reproducible example. …

## Count the Consecutive Events in Python

This short post is about finding an efficient way to count consecutive events. We are going to represent a straightforward …

## Most Dominant Color of an Image

When we build machine learning models on Images, apart from the image labels, we want also to get the color …

## Iterate over Image Pixels

Today, we will provide an example of how we can get image pixels and how we can change them using …

## Estimate Pi with Monte Carlo

One method to estimate the value of $$\pi$$ is by applying the Monte Carlo method. Let’s consider a circle inscribed …

## Dimension Reduction in Python

In statistics and machine learning is quite common to reduce the dimension of the features. There are many available algorithms …