New APIs in iOS 7 Allow Developers to Detect Blinking and Smiling in Photos

In addition to a complete redesign and a slew of new features, Apple's iOS 7 offers a number of APIs for developers, including several camera improvements like zoom capabilities for video.

According to 9to5Mac, iOS 7 beta 2, which debuted yesterday, added a new function that allows developers to access image detectors to locate facial expressions within photos.

While face recognition was originally introduced with iOS 5, the new APIs can detect distinct expressions like smiles and blinking, functionality that is found in several basic point-and-shoot cameras.

newapis
Since the iPhone's debut, Apple has worked hard to improve both the camera hardware and software of its devices, so it is no surprise that iOS 7 will offer multiple camera enhancements for developers. Each iteration of iOS has included new features, such as the volume shutter controls that debuted with iOS 5 and the panorama capabilities added with iOS 6.

Apple's camera expansion efforts have largely paid off, with the iPhone 4, 4S, and 5 ranked as the three most popular cameras on photo sharing site Flickr. The iPhone's camera was also the highlight of a recent Apple advertising campaign.

Along with software improvements in iOS 7, Apple's next generation iPhone is also expected to feature several photo-focused enhancements. The iPhone 5S is rumored to have a higher megapixel camera and a dual LED flash that was revealed in device photos earlier this week.

Related Forum: iOS 7

Popular Stories

iphone 16 display

iPhone 17's Scratch Resistant Anti-Reflective Display Coating Canceled

Monday April 28, 2025 12:48 pm PDT by
Apple may have canceled the super scratch resistant anti-reflective display coating that it planned to use for the iPhone 17 Pro models, according to a source with reliable information that spoke to MacRumors. Last spring, Weibo leaker Instant Digital suggested Apple was working on a new anti-reflective display layer that was more scratch resistant than the Ceramic Shield. We haven't heard...
iPhone 17 Air Pastel Feature

iPhone 17 Reaches Key Milestone Ahead of Mass Production

Monday April 28, 2025 8:44 am PDT by
Apple has completed Engineering Validation Testing (EVT) for at least one iPhone 17 model, according to a paywalled preview of an upcoming DigiTimes report. iPhone 17 Air mockup based on rumored design The EVT stage involves Apple testing iPhone 17 prototypes to ensure the hardware works as expected. There are still DVT (Design Validation Test) and PVT (Production Validation Test) stages to...
Beyond iPhone 13 Better Blue

20th Anniversary iPhone Likely to Be Made in China Due to 'Extraordinarily Complex' Design

Monday April 28, 2025 4:29 am PDT by
Apple will likely manufacture its 20th anniversary iPhone models in China, despite broader efforts to shift production to India, according to Bloomberg's Mark Gurman. In 2027, Apple is planning a "major shake-up" for the iPhone lineup to mark two decades since the original model launched. Gurman's previous reporting indicates the company will introduce a foldable iPhone alongside a "bold"...
apple watch ultra yellow

What's Next for the Apple Watch Ultra 3 and Apple Watch SE 3

Friday April 25, 2025 2:44 pm PDT by
This week marks the 10th anniversary of the Apple Watch, which launched on April 24, 2015. Yesterday, we recapped features rumored for the Apple Watch Series 11, but since 2015, the Apple Watch has also branched out into the Apple Watch Ultra and the Apple Watch SE, so we thought we'd take a look at what's next for those product lines, too. 2025 Apple Watch Ultra 3 Apple didn't update the...
iphone 17 air iphone 16 pro

iPhone 17 Air USB-C Port May Have This Unusual Design Quirk

Wednesday April 30, 2025 3:59 am PDT by
Apple is preparing to launch a dramatically thinner iPhone this September, and if recent leaks are anything to go by, the so-called iPhone 17 Air could boast one of the most radical design shifts in recent years. iPhone 17 Air dummy model alongside iPhone 16 Pro (credit: AppleTrack) At just 5.5mm thick (excluding a slightly raised camera bump), the 6.6-inch iPhone 17 Air is expected to become ...
iPhone 17 Pro Blue Feature Tighter Crop

iPhone 17 Pro Launching Later This Year With These 13 New Features

Wednesday April 23, 2025 8:31 am PDT by
While the iPhone 17 Pro and iPhone 17 Pro Max are not expected to launch until September, there are already plenty of rumors about the devices. Below, we recap key changes rumored for the iPhone 17 Pro models as of April 2025: Aluminum frame: iPhone 17 Pro models are rumored to have an aluminum frame, whereas the iPhone 15 Pro and iPhone 16 Pro models have a titanium frame, and the iPhone ...
iPhone 17 Pro on Desk Feature

All iPhone 17 Models Again Rumored to Feature 12GB of RAM

Tuesday April 29, 2025 3:36 am PDT by
All upcoming iPhone 17 models will come equipped with 12GB of RAM to support Apple Intelligence, according to the Weibo-based leaker Digital Chat Station. The claim from the Chinese leaker, who has sources within Apple's supply chain, comes a few days after industry analyst Ming-Chi Kuo said that the iPhone 17 Air, iPhone 17 Pro, and iPhone 17 Pro Max will all be equipped with 12GB of RAM. ...
AirPods Pro 3 Mock Feature

AirPods Pro 3 Just Months Away – Here's What We Know

Tuesday April 29, 2025 1:30 am PDT by
Despite being more than two years old, Apple's AirPods Pro 2 still dominate the premium wireless‑earbud space, thanks to a potent mix of top‑tier audio, class‑leading noise cancellation, and Apple's habit of delivering major new features through software updates. With AirPods Pro 3 widely expected to arrive in 2025, prospective buyers now face a familiar dilemma: snap up the proven...

Top Rated Comments

pmau Avatar
155 months ago
WarpCore API

*/
CF_EXPORT
CFWarpDriveRef CFWarpDriveCreate(CFSpaceTimeRef dimension, const void **darkness, const void **eternity, CFIndex numHops, const CFWarpCallBacks *warpCallBacks, const CFSpeedCallBacks *speedCallBacks);

Look, I found a new Warp Drive API in CoreFoundation, near WarpCore.
You can create a EWarpDrive instance, define the dimension, darkness and eternity parameters and the number of hops you want to travel.

Each hop will cause a warpCallback into your App and the speedCallbacks let you place pins on the new 3D galaxy map API.

Use carefully.
Score: 14 Votes (Like | Disagree)
Frisco Avatar
155 months ago
I don't know how I lived my 50 years of life without this technology. It makes my 50 years seem meaningless.
Score: 6 Votes (Like | Disagree)
lotzosushi Avatar
155 months ago
Well as long as they don't pull an S4 gimmick and market eye-tracking as a huge feature. Cause it's not.
Score: 6 Votes (Like | Disagree)
tbrinkma Avatar
155 months ago
The code says something about a minimum OS X requirement. More artificial limitations? "The older iMac cannot provide the processing power required for blink detection." ;)

Yep. God forbid they add a new feature to new versions of their OSs without backporting them all to the older versions. :rolleyes:

I suppose you want them to backport Grand Central Dispatch and Intel processor support all the way back to Puma, too?
Score: 4 Votes (Like | Disagree)
xcodeaddict Avatar
155 months ago
Are you saying that the HTC implementation of this sucked? Is this based on personal experience on your part?

Or are you saying the Apple version is Gods gift to photography? Again, based on your usage?

You or I don't have a CLUE what Apple's version is like... but I guess a fanboi is a fanboi and it does not matter whether it REALLY is good, if it says Apple it MUST be good.
It's simple - Apple's implementations of things may take longer, but are generally FAR better, and that's not something I wish to debate really - it's obvious by mere observation and common sense.
Score: 4 Votes (Like | Disagree)
Stack Overflow Avatar
155 months ago
The code says something about a minimum OS X requirement. More artificial limitations? "The older iMac cannot provide the processing power required for blink detection." ;)
It's not limiting it based on the hardware, it's limiting it based on the APIs the version of OS X contains. Only 10.9 has this (according to the code snippet).

You can't use a software feature that isn't contained in the software in question.
Score: 4 Votes (Like | Disagree)