Shooting with 2 rear cameras

I was wondering if there's a way to shoot with two rear cameras simultaneously and recieve two discrete images from them?
I saw that with iPhone 11 Pro and iOS 13, some apps like Filmic Pro will have access to two video streams from multiple cameras. Is that available to all developers or only Apple partners? If so, is the API available or will it be made available in the future?
I'm looking to take two photos from rear facing cameras and applying post-processing to them seperately before merging them in our app.
Also, related but seperate: is there any way to recieve rectification/calibration data from the individual device to account for alignment differences between individual units during manufacturing?

Replies

Still looking for camera support.
I've seen the AVMultiCamera API's in iOS 13, but I'm still confused about getting calibration data from cameras, or what the limitations are to accessing the cameras(e.g. framerate, latency, resolution, color, etc.). It doesn't seem like that information is documented anywhere.

Hello,


Assuming that you have configured your capture session correctly to produce two outputs, the captureOutput:didOutputSampleBuffer:fromConnection: will be called twice, once for each output.


You should check out this WWDC video: https://developer.apple.com/videos/play/wwdc2019/249/?time=691


The video also references and links to a sample project which demonstrates how to configure an AVCaptureMultiCamSession.

  • Hello I am looking for the similar thing as well. May I ask is there has any sample app that Brad demonstrated (Side by Side app with Wide and Tele Camera) on last WWDC 2019 session 249? (https://developer.apple.com/videos/play/wwdc2019/249/) Time: 31:11 Any lead will be greatly appreciated. Thank you.

Add a Comment

Are you interested in streaming video from two cameras simultaneously or capturing stills? Multiple photos from a DualCamera has been supported for several releases now and does not require an AVCaptureMultiCamSession. See dualCameraDualPhotoDelivery in AVCapturePhotoOutput (the inline documentation is excellent).


If you want to stream from two cameras simultaneously, then yes, you need to use AVCaptureMultiCamSession, and the 2019 wwdc session gchiste cited is a good source.

Hello I am looking for the similar thing as well. May I ask is there has any sample app that Brad demonstrated (Side by Side app with Wide and Tele Camera) on last WWDC 2019 session 249? (https://developer.apple.com/videos/play/wwdc2019/249/) Time: 31:11 Any lead will be greatly appreciated. Thank you.