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 ...
16. Using Facial Recognition
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.