Multi-Camera Capture for iOS and Android

I’ve collected some learning resources of multi-camera programming for iOS and Android. Because of the hardware limitation, I have not tested the samples provided by Apple and Google.

Multi-Camera for iOS

OS Version

v13+

Devices

iPhone XS, XS Max, XR and iPad Pro.

AVFoundation API

Virtual camera

multi-camera ios

multi-camera ios

ToF Camera

N/A

Documentation

https://developer.apple.com/documentation/avfoundation/avcapturemulticamsession/

Sample Code

https://developer.apple.com/documentation/avfoundation/cameras_and_media_capture/avmulticampip_capturing_from_multiple_cameras

Reference

https://www.youtube.com/watch?v=QVMmu4O5PAQ

Multi-Camera for Android

OS Version

v9+

Devices

Huawei Mate 20 series, Huawei P30 series, Samsung S10 series and Google Pixel 3

Camera2 API

Logical camera

multi-camera android

ToF Camera

https://github.com/google-ar/arcore-android-sdk/issues/120

https://developer.huawei.com/consumer/en/devservice/doc/20308

Documentation

https://source.android.com/devices/camera/multi-camera

Sample Code

https://github.com/google/basicbokeh

https://github.com/CameraKit/camerakit-android

Reference

https://www.youtube.com/watch?v=u38wOv2a_dA