Open Source UIImageView Category That Makes It Easy Center On Faces Within The Image

When iOS 5 was released Core Image was added with face detection and I posted this tutorial.

Here’s a handy UIImageView category that utilizes Core Image face detection adding a Face Aware view that automatically centers upon faces detected within the image called UIImageView_FaceAwareFill from Julio Andres.

Here’s an image from the readme showing different UIImageView fill modes with the face aware fill added by the category:

UIImageView_FaceAwareFill

 

You can find UIImageView_FaceAwareFill on Github here.

An example is included, and if you have problems with face detection broken on a 64-bit device you may want to try suggestions on this Stack Overflow post.

A handy category for easy centering on faces within an image.

FacebookTwitterDiggStumbleUponGoogle Plus

Original article: Open Source UIImageView Category That Makes It Easy Center On Faces Within The Image

©2014 iOS App Dev Libraries, Controls, Tutorials, Examples and Tools. All Rights Reserved.

Leave a Reply

Your email address will not be published. Required fields are marked *