如何实时修改来自iPhone相机的视频流? [英] How to modify in real time the video stream from the iPhone camera?

查看:156
本文介绍了如何实时修改来自iPhone相机的视频流?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

每次iPhone的相机捕获新图像时,我想修改它,然后将其显示在iPhone屏幕上。换句话说:如何实时修改来自iPhone相机的视频流?

我需要一个方法,每当新的图像来自相机时调用。

Every time the camera of the iPhone captures a new image, I want to modify it and then display it on the iPhone screen. In other way: how to modify in real time the video stream from the iPhone camera?
I need a method who is called every time when a new image comes from the camera.

感谢您的帮助! : - )

Thanks for your help! :-)

编辑:我想做的就像增强现实:当我拍摄视频时,每个图像都被修改,并实时显示

what I want to do is like augmented reality: while I'm taking a video, every image is modified, and is showed in real time on the iPhone screen.

推荐答案

许多增强现实应用程序实际上并不修改图像,而只是基于他们认为是什么的叠加信息屏幕从加速度计和罗盘的输入。如果这是您要查找的AR类型,请尝试查看 ARKit

Many augmented reality apps do not actually modify the image but just overlay information based on what they think is on the screen from input from the accelerometer and compass. If this is the kind of AR you are looking to do then try looking at ARKit.

这篇关于如何实时修改来自iPhone相机的视频流?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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