Got a tip for us? Share it...

New in OS X: Get MacRumors Push Notifications on your Mac

Resubscribe Now Close

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 roundup: iOS 7

Top Rated Comments

(View all)

11 months ago
*/
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.
Rating: 14 Positives
11 months ago
I don't know how I lived my 50 years of life without this technology. It makes my 50 years seem meaningless.
Rating: 6 Positives
11 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.
Rating: 6 Positives
11 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.


I've used the eye scroll feature on my friend's s4. Truly gimmicky!!
Rating: 4 Positives
11 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.
Rating: 4 Positives
11 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.
Rating: 4 Positives
11 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?
Rating: 4 Positives
11 months ago

Pretty sue this has been on Android for a few years now... at least something like this was on an HTC phone I was using last year for sure. Multiple shots and it puts them all together.

Its cool and all, but it is sure not unique to Apple or the iPhone.... they are rather late to this game. Again.


"Good old Android"

Nope, good old digital cameras. Apple may be "rather late", but I'd rather things were late and well done, than early and without due thought and badly executed, just because the OEM thinks the feature is missing and HAS to be in a spec sheet.
Rating: 3 Positives
11 months ago

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.


Siri was in beta and quite unreliable when it was launched for 4s
Apple Maps was a cynical conundrum at first compared to Google maps
iMessage is flaky at best, sometime ended up as text message instead and is frankly no better than legacy BBm
Late 2012 iMac announcement was a mistake. Too little too early. It wasn't ready yet. Cook himself said so


Apple late to the game but generally far better.. Hmm .. You sure?
Rating: 3 Positives
11 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?


Obviously Apple isn't breaking any new grounds with the addition of this smile and blink-detection API. They're not the first, and for all we know they might not even have the best implementation. But by including this as an API, it makes it much easier for developers to include this functionality in their apps- and that's good news for everybody.
Rating: 3 Positives

[ Read All Comments ]