Note from author :

In this article we will learn how to create your own WhatsApp sticker using python. We will also understand the fundamentals behind creating stickers, instead of doing it through a third party application.

The article contains working code of clipping your own sticker from any photo using OpenCV.

FIG 1.1 ORIGINAL IMAGE vs GRABCUT IMAGE OF MS DHONI

We are going to use GrabCut Algorithm to achieve this. GrabCut is an image  segmentation method based on  graph cuts. Starting with an user-specified  bounding box around the object to be segmented, the algorithm estimates the color distribution of the target object and that of the background using a Gaussian mixture model**(GMM).**

Gaussian mixture model (GMM)

A Gaussian mixture model (GMM) is a category of probabilistic model which assumes that the observed data is made up of a mixture of several Gaussian distributions. These individual distributions (referred to as mixture components) may be given different means and variances. They may also be given different mixture weights. It is basically here is used for clustering.

#python #whatsapp #opencv #social-media

How to Create Your Own WhatsApp Sticker with Python
35.30 GEEK