Fun with Facial Filters: Cool Beatles

As an extension of my previous post: using my trained facial keypoint detector, I can now do things like add filters to a person's face, automatically. I played around with adding sunglasses to detected face's in an image by using the keypoints detected around a person's eyes.

So I'm gonna make the Beatles look cool(er) by overlaying sunglasses on top of their detected features. Much like snapchat.

I'll start with the Beatles picture below:


Detect their faces using the haar cascade (again I can use another detector but this will suffice for now).

And overlay the sunglasses on top of the detected features using my trained model.





Ok, they look funny. A next step (apart from using a different architecture) is to overlay the sunglasses on the original image. 

Find the project in my github page.





Comments

Popular Posts