Example Source Code: Using Face Detection To Create The Illusion Of Real 3D On iOS Devices

http://maniacdev.com/2012/07/example-source-code-using-face-detection-to-create-the-illusion-of-real-3d-on-ios-devices/


Example Source Code: Using Face Detection To Create The Illusion Of Real 3D On iOS Devices

Early last year an app known as i3D hit the app stores demonstrating “monocular 3D” that uses face detection to provide the illusion of real 3D.

With iOS 5 Apple added Core Image and face detection right into the iOS SDK and Edwin Vermeer has created an example project demonstrating this principle by using a modified version of Apple’s example project SquareCam.

What the example does is estimate the distance and angle of your face from the device, and modify an image and shadow based on those calculations.

Here’s a video demonstrating the example in action:

You can download the example from Github here, and read more about it on Edwin’s blog.

You can find the i3D app here, and Apple’s SquareCam example here.

A pretty cool effect.  Thanks to Edwin for the submission.

Delicious Twitter Facebook Reddit LinkedIn Email

Submit A Resource

Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?

You can send a Tweet to @maniacdev on Twitter or submit the url here.

The resources we feel will appeal to our readers the most will be posted on the front page.

Leave a Reply

Your email address will not be published. Required fields are marked *



评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值