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

Top Rated Comments

pmau Avatar
137 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
137 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
137 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
137 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
137 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
137 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)

Popular Stories

iOS 16 4 Web Push

Apple Confirms Governments Using Push Notifications to Surveil Users

Wednesday December 6, 2023 5:06 am PST by
Unidentified governments are surveilling smartphone users by tracking push notifications that move through Google's and Apple's servers, a US senator warned on Wednesday (via Reuters). In a letter to the Department of Justice, Senator Ron Wyden said foreign officials were demanding the data from the tech giants to track smartphones. The traffic flowing from apps that send push notifications...
iOS 17

iOS 17.2 Will Add These 12 New Features to Your iPhone

Friday December 1, 2023 12:19 pm PST by
iOS 17.2 has been in beta testing for over a month, and it should be released to all users in a few more weeks. The software update includes many new features and changes for iPhones, including the dozen that we have highlighted below. iOS 17.2 is expected to be released to the public in mid-December. To learn about even more features coming in the update, check out our full list. Journal ...
iphone se 4 modified flag edges

iPhone SE 4 May Reuse Existing iPhone 14 Battery

Wednesday December 6, 2023 1:17 pm PST by
Recently, MacRumors has received details on the battery currently being tested on the upcoming fourth-generation iPhone SE, and the information corroborates previous findings in relation to the device. The iPhone SE 4, known by its device identifier D59, is expected to use the exact same battery found in the base model iPhone 14. Partially assembled prototypes of the next iPhone SE have been ...
best buy snowflakes

Best Buy's New Weekend Sale Has Record Low Prices on MacBook Pro and MacBook Air

Friday December 8, 2023 7:37 am PST by
Best Buy's month-long holiday sale continues this weekend with multiple all-time low prices on Apple's line of MacBook Pro and MacBook Air computers. In addition to Apple notebooks, Best Buy's event has discounts sitewide on home appliances, TVs, video games, and more. Note: MacRumors is an affiliate partner with some of these vendors. When you click a link and make a purchase, we may receive...
beeper mini

Apple Puts a Stop to Beeper Mini's iMessage for Android Feature

Friday December 8, 2023 2:24 pm PST by
Apple appears to have closed the loophole that Beeper Mini used to bring iMessage to Android, putting a stop to blue bubbles from Android devices. Beeper Mini quit working earlier today, with users receiving "failed to lookup on server: lookup request timed out" error messages. Beeper said on Twitter that it is investigating the issue, but Beeper CEO Eric Migicovsky told TechCrunch that "all ...
maxresdefault

Review: Two Months With the iPhone 15 Pro Max

Thursday December 7, 2023 12:04 pm PST by
Apple's iPhone 15 lineup came out in September, and while most reviews are done shortly after a new device launches, we like to follow up with a longer term review that gives us an opportunity to provide a deeper dive into what it's like using these phones on a day to day basis for months. Subscribe to the MacRumors YouTube channel for more videos. MacRumors videographer Dan Barbera has been...
12

Apple to Launch Two iPad Air and Two OLED iPad Pro Models Early Next Year

Wednesday December 6, 2023 9:53 am PST by
To boost falling iPad sales, Apple has a major refresh planned for the iPad lineup in early 2024, according to Bloomberg's Mark Gurman. Apple plans to debut new iPad Air and iPad Pro models, both of which will feature notable changes. The iPad Air will come in two sizes like the iPad Pro for the first time. The smaller model will continue to measure in at 10.9 inches, but the larger version...
anker new gold

Anker Begins Countdown to Christmas Sale With Up to 50% Off Popular Charging Accessories

Thursday December 7, 2023 7:55 am PST by
Anker has launched its newest holiday sale, this one offering a special deal every day in the lead-up to Christmas. These sales offer up to 50 percent off select products, and include discounts on USB-C chargers, portable batteries, and much more. Note: MacRumors is an affiliate partner with some of these vendors. When you click a link and make a purchase, we may receive a small payment, which ...