O'Reilly logo

iOS Application Development with OpenCV 3 by Joseph Howse

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 4. Detecting and Merging Faces of Mammals

 

"A cat may look at a king."

 
 --English proverb

This chapter puts a spotlight on two of my favorite subjects: cats and augmented reality (AR). We will build an AR application called ManyMasks, which will detect, highlight, and merge the faces of humans and cats. Specifically, the app's user will be able to do the following things:

  • See the boundaries of a human face or cat face in a live camera view as well as the centers of the eyes and the tip of the nose. This visualization depends on the result of a face detection algorithm.
  • Select two detected faces from different camera frames.
  • See a hybrid face, which is produced by aligning and blending the two selected faces.
  • Save and share the hybrid face. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required