iPhone 7 Plus - AVFoundation双摄像头 [英] iPhone 7 Plus - AVFoundation dual camera

查看:148
本文介绍了iPhone 7 Plus - AVFoundation双摄像头的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

目前我正在积极研究这个问题,但现在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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆