© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2022
W. WangPro iPhone Development with SwiftUIhttps://doi.org/10.1007/978-1-4842-7827-7_16

16. Using Facial Recognition

Wallace Wang1  
(1)
San Diego, CA, USA
 

Apple provides dozens of frameworks that you can use rather than write your own code. One of the more interesting frameworks is the Vision framework that can recognize objects in pictures such as faces. At the simplest level, facial recognition can identify the number of faces in a picture. On a more advanced level, facial recognition can also draw rectangles around an image to show exactly where the faces appear in an image. Although facial recognition may not be perfect, it can be accurate enough to give ...

Get Pro iPhone Development with SwiftUI: Design and Manage Top Quality Apps now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.