OpenCV Series — 9— Virtual Makeup — Hats on Head

Rajathithan Rajasekar
4 min readOct 11, 2020
Virtual makeup with Hat using Dlib

In this post, we are going to see how we can use Dlib’s face detection landmarks to augment a hat or cap to a person’s image. In my previous Dlib posts i had explained where to download the Dlib pre-trained 68 point face prediction model and the code to detect the landmark points on a facial image.

Now, we will go through the steps involved in identifying the right points in a…

--

--

Rajathithan Rajasekar

I like to write code in Python . Interested in cloud , dataAnalysis, computerVision, ML and deepLearning. https://rajathithanrajasekar.medium.com/membership