Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Machine Learning Projects for Mobile Applications

You're reading from   Machine Learning Projects for Mobile Applications Build Android and iOS applications using TensorFlow Lite and Core ML

Arrow left icon
Product type Paperback
Published in Oct 2018
Publisher Packt
ISBN-13 9781788994590
Length 246 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Karthikeyan NG Karthikeyan NG
Author Profile Icon Karthikeyan NG
Karthikeyan NG
Arrow right icon
View More author details
Toc

Understanding face-swapping


For a long time, understanding human faces has been the grounds for research for computer vision engineers. The first application for this research came in the form of face recognition features. To identify a face in an input image or a video frame, our algorithm should first detect the location of the face. It will then cause a bounding box to frame a face in the image, as follows:

Once we have the bounding boxes, the obvious next step is to identify facial key points with more granular details inside the boxes, for example, the position of the eyes, the nose base, the eyebrows, and so on. Identifying facial landmark points will be helpful in building applications such as virtual makeup rooms, face morphing, Augmented Reality (AR) filters, and so on.

Facial key point identification made with the dlib library looks something like the following:

Note

Facial key point detection was initially invented by Vahid Kazemi and Josephine Sullivan, who identified 68 specific...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at AU $24.99/month. Cancel anytime