Most smartphones these days have a feature that automatically takes a selfie when we smile. It is amazing how accurately it detects smiles for not only one but multiple faces and captures a selfie immediately. If you have wondered how this is possible, it is actually quite simple. Using some of the libraries like dlib and OpenCV it is possible to build a selfie capturing application with just a few lines of code. The concept involved here to identify the mouth region using dlib, measure the distance between the corners of the lips when the user smiles and immediately capture a picture. Let’s get started!

Read more: https://analyticsindiamag.com/selfie-capture-when-we-smile-my-fun-project-using-opencv/

#opencv #ai #coding #facerecognition #machinelearning #selfie

Selfie Capture When We Smile - My Fun Project Using OpenCV
1.25 GEEK