AVFoundation双摄像头

AVFoundation双摄像头

本文介绍了iPhone 7 Plus - AVFoundation双摄像头的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 29岁程序员,3月因学历无情被辞! 目前我正在积极研究这个问题,但现在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 文档中( 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双摄像头的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!
08-28 22:34