iPhone 7 Plus - AVFoundation双摄像头 [英] iPhone 7 Plus - AVFoundation dual camera
问题描述
目前我正在积极研究这个问题,但现在iPhone 7 Plus配备了双摄像头系统,AVFoundation是否允许您同时处理来自每个特定摄像头的视频帧?
I'm actively researching this at the moment, but now that the iPhone 7 Plus has a dual camera system, will AVFoundation allow you to handle video frames from each specific camera simultaneously?
我在想/我希望能够同时处理两个 AVCaptureDevice
实例的输出给定一个位置。
I am thinking/hoping that I'll be able to handle output from two AVCaptureDevice
instances at the same time given a certain position.
推荐答案
在更新后的 AVFoundation
文档中(< a href =https://developer.apple.com/reference/avfoundation/avcapturedevicetype\"rel =noreferrer> AVCaptureDeviceType )有新的设备类型: builtInWideAngleCamera
和 builtInTelephotoCamera
。因此,应该可以创建多个捕获会话并同时从它们获得反馈。
In the updated AVFoundation
documentation (AVCaptureDeviceType) there're new device types: builtInWideAngleCamera
and builtInTelephotoCamera
. Hence, it should be possible to create multiple capture sessions and get the feedback from both of them at the same time.
这篇关于iPhone 7 Plus - AVFoundation双摄像头的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!