Apple introduced facial recognition back in 2011 with iOS 5, but the company’s latest upgrade to iOS 7 adds even more detection features, allowing the camera to identify smiles and blinking for an enhanced Camera app. 9to5Mac noticed two lines of code within the new application programming interface (API) in particular which hint at the new facial detection features.
The inclusion of “CIDetectorEyeBlink” and “CIDetectorSmile” in iOS 7 opens the door for a new and improved Camera app. Most obviously, the new software could choose the best photo from a series, eliminating pictures where the subject’s eyes are closed while honing in on smiling faces. In this case, however, Apple would be playing catchup to a number of competing Android handsets that already offer similar “best shot” applications.
9to5Mac also identifies several other new camera features uncovered in the iOS 7 API. The updated camera software will give developers access to realtime barcode detection, and offer a new feature that helps reduce obscured images. The video frame-rate has also been increased to 60 frames-per-second, although Apple revealed that update at WWDC 2013 earlier this month.