4

Is or will there be a built in feature to generate and access a depth map from the dual cameras on the iPhone 7 Plus?

We have all seen Apple's keynote where they demonstrate how to use the cameras to create a shallow depth effect, but reading the API-reference I can't read more than how to access the raw input from the two cameras.

Focus pixels is clearly something else since it is supported by earlier devices.

Aerows
  • 760
  • 6
  • 22

1 Answers1

1

Got an answer for this on the Apple Developer Forum from a member of the Apple staff.

I'll send out a post soon about iOS 10 APIs that are specific to the iPhone 7 and 7 Plus cameras. The short answer is that no, depth maps will not be available in this release.

Aerows
  • 760
  • 6
  • 22
  • 2
    However, if both the camera stream are available we can get the depth map using OpenCV or other libraries – codetiger Sep 14 '16 at 13:50
  • I thought of this too, but from the demo they gave the impression of supporting this natively. Got my hopes up! =) – Aerows Sep 14 '16 at 13:57
  • Yes, the depth image that they showed, triggered a lot of possibilities in my head, but their announcement about depth map was very limited. So they might be keeping it for future versions until they get it right. – codetiger Sep 14 '16 at 14:01
  • Also sounds like their depth map is really only on the order of 10 levels. – Kaolin Fire Nov 03 '16 at 19:34